You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ki...@apache.org on 2017/02/03 21:40:07 UTC

hadoop git commit: HADOOP-14050. Add process name to kms process. Contributed by Rushabh S Shah.

Repository: hadoop
Updated Branches:
  refs/heads/branch-2 f17d3eddc -> 7baa6dac5


HADOOP-14050. Add process name to kms process. Contributed by Rushabh S Shah.


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

Branch: refs/heads/branch-2
Commit: 7baa6dac54417d564a9233c2f76bf310bf63a822
Parents: f17d3ed
Author: Kihwal Lee <ki...@apache.org>
Authored: Fri Feb 3 15:38:55 2017 -0600
Committer: Kihwal Lee <ki...@apache.org>
Committed: Fri Feb 3 15:38:55 2017 -0600

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


http://git-wip-us.apache.org/repos/asf/hadoop/blob/7baa6dac/hadoop-common-project/hadoop-kms/src/main/sbin/kms.sh
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-kms/src/main/sbin/kms.sh b/hadoop-common-project/hadoop-kms/src/main/sbin/kms.sh
index fb8ba33..dc14054 100644
--- a/hadoop-common-project/hadoop-kms/src/main/sbin/kms.sh
+++ b/hadoop-common-project/hadoop-kms/src/main/sbin/kms.sh
@@ -58,7 +58,8 @@ KMS_SSL_TRUSTSTORE_PASS=`echo $CATALINA_OPTS | grep -o 'trustStorePassword=[^ ]*
 CATALINA_OPTS_DISP=`echo ${CATALINA_OPTS} | sed -e 's/trustStorePassword=[^ ]*/trustStorePassword=***/'`
 print "Using   CATALINA_OPTS:       ${CATALINA_OPTS_DISP}"
 
-catalina_opts="-Dkms.home.dir=${KMS_HOME}";
+catalina_opts="-Dproc_kms"
+catalina_opts="${catalina_opts} -Dkms.home.dir=${KMS_HOME}";
 catalina_opts="${catalina_opts} -Dkms.config.dir=${KMS_CONFIG}";
 catalina_opts="${catalina_opts} -Dkms.log.dir=${KMS_LOG}";
 catalina_opts="${catalina_opts} -Dkms.temp.dir=${KMS_TEMP}";


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