HADOOP-10993. Dump java command line to *.out file (Contributed by Kengo Seki)
This commit is contained in:
parent
0daa5ada68
commit
ffbb574623
@ -215,6 +215,9 @@ Trunk (Unreleased)
|
||||
HADOOP-11590. Update sbin commands and documentation to use new --slaves
|
||||
option (aw)
|
||||
|
||||
HADOOP-10993. Dump java command line to *.out file
|
||||
(Kengo Seki via vinayakumarb)
|
||||
|
||||
BUG FIXES
|
||||
|
||||
HADOOP-11473. test-patch says "-1 overall" even when all checks are +1
|
||||
|
@ -1148,6 +1148,10 @@ function hadoop_java_exec
|
||||
|
||||
hadoop_debug "Final CLASSPATH: ${CLASSPATH}"
|
||||
hadoop_debug "Final HADOOP_OPTS: ${HADOOP_OPTS}"
|
||||
hadoop_debug "Final JAVA_HOME: ${JAVA_HOME}"
|
||||
hadoop_debug "java: ${JAVA}"
|
||||
hadoop_debug "Class name: ${class}"
|
||||
hadoop_debug "Command line options: $*"
|
||||
|
||||
export CLASSPATH
|
||||
#shellcheck disable=SC2086
|
||||
@ -1174,6 +1178,10 @@ function hadoop_start_daemon
|
||||
|
||||
hadoop_debug "Final CLASSPATH: ${CLASSPATH}"
|
||||
hadoop_debug "Final HADOOP_OPTS: ${HADOOP_OPTS}"
|
||||
hadoop_debug "Final JAVA_HOME: ${JAVA_HOME}"
|
||||
hadoop_debug "java: ${JAVA}"
|
||||
hadoop_debug "Class name: ${class}"
|
||||
hadoop_debug "Command line options: $*"
|
||||
|
||||
# this is for the non-daemon pid creation
|
||||
#shellcheck disable=SC2086
|
||||
@ -1300,6 +1308,10 @@ function hadoop_start_secure_daemon
|
||||
|
||||
hadoop_debug "Final CLASSPATH: ${CLASSPATH}"
|
||||
hadoop_debug "Final HADOOP_OPTS: ${HADOOP_OPTS}"
|
||||
hadoop_debug "Final JSVC_HOME: ${JSVC_HOME}"
|
||||
hadoop_debug "jsvc: ${jsvc}"
|
||||
hadoop_debug "Class name: ${class}"
|
||||
hadoop_debug "Command line options: $*"
|
||||
|
||||
#shellcheck disable=SC2086
|
||||
echo $$ > "${privpidfile}" 2>/dev/null
|
||||
|
Loading…
x
Reference in New Issue
Block a user