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

(cherry picked from commit 92dbdbc490)
This commit is contained in:
Xiao Chen 2017-02-14 09:46:55 -08:00
parent eca70e4bff
commit 8f9aae0193
1 changed files with 2 additions and 1 deletions

View File

@ -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}";