This is an automated email from the ASF dual-hosted git repository. weichiu pushed a commit to branch branch-3.2 in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/branch-3.2 by this push: new 0958152 HADOOP-16289. Allow extra jsvc startup option in hadoop_start_secure_daemon in hadoop-functions.sh. Contributed by Siyao Meng. 0958152 is described below commit 095815220df582a04f09f8b645f9f01128168bf9 Author: Siyao Meng <sm...@cloudera.com> AuthorDate: Mon May 6 15:47:00 2019 -0700 HADOOP-16289. Allow extra jsvc startup option in hadoop_start_secure_daemon in hadoop-functions.sh. Contributed by Siyao Meng. Signed-off-by: Wei-Chiu Chuang <weic...@apache.org> (cherry picked from commit 93f2283a69ea4e07a998f2a4065f238f9574921b) --- hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh b/hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh index f0daafd..b3b8afc 100755 --- a/hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh +++ b/hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh @@ -1924,6 +1924,7 @@ function hadoop_start_secure_daemon hadoop_debug "Final HADOOP_OPTS: ${HADOOP_OPTS}" hadoop_debug "Final JSVC_HOME: ${JSVC_HOME}" hadoop_debug "jsvc: ${jsvc}" + hadoop_debug "Final HADOOP_DAEMON_JSVC_EXTRA_OPTS: ${HADOOP_DAEMON_JSVC_EXTRA_OPTS}" hadoop_debug "Class name: ${class}" hadoop_debug "Command line options: $*" @@ -1936,6 +1937,7 @@ function hadoop_start_secure_daemon # shellcheck disable=SC2086 exec "${jsvc}" \ "-Dproc_${daemonname}" \ + ${HADOOP_DAEMON_JSVC_EXTRA_OPTS} \ -outfile "${daemonoutfile}" \ -errfile "${daemonerrfile}" \ -pidfile "${daemonpidfile}" \ --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org