Repository: hadoop
Updated Branches:
  refs/heads/branch-2 8e291e101 -> 92dbdbc49


HDFS-11390. Add process name to httpfs process. Contributed by Weiwei Yang.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/92dbdbc4
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/92dbdbc4
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/92dbdbc4

Branch: refs/heads/branch-2
Commit: 92dbdbc490a527054388dc2fc6751aa8268856ef
Parents: 8e291e1
Author: Xiao Chen <x...@apache.org>
Authored: Tue Feb 14 09:46:55 2017 -0800
Committer: Xiao Chen <x...@apache.org>
Committed: Tue Feb 14 09:46:55 2017 -0800

----------------------------------------------------------------------
 hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/92dbdbc4/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh 
b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh
index a593b67..203024e 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh
+++ b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh
@@ -36,7 +36,8 @@ source 
${HADOOP_LIBEXEC_DIR:-${BASEDIR}/libexec}/httpfs-config.sh
 #
 print "Using   CATALINA_OPTS:       ${CATALINA_OPTS}"
 
-catalina_opts="-Dhttpfs.home.dir=${HTTPFS_HOME}";
+catalina_opts="-Dproc_httpfs";
+catalina_opts="${catalina_opts} -Dhttpfs.home.dir=${HTTPFS_HOME}";
 catalina_opts="${catalina_opts} -Dhttpfs.config.dir=${HTTPFS_CONFIG}";
 catalina_opts="${catalina_opts} -Dhttpfs.log.dir=${HTTPFS_LOG}";
 catalina_opts="${catalina_opts} -Dhttpfs.temp.dir=${HTTPFS_TEMP}";


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to