From 8f9aae0193bc3696cb2047ff5f8d019579ad345f Mon Sep 17 00:00:00 2001 From: Xiao Chen Date: Tue, 14 Feb 2017 09:46:55 -0800 Subject: [PATCH] HDFS-11390. Add process name to httpfs process. Contributed by Weiwei Yang. (cherry picked from commit 92dbdbc490a527054388dc2fc6751aa8268856ef) --- hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 a593b67ca59..203024e4d55 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}";