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 ji...@apache.org on 2015/05/14 22:12:35 UTC
[34/37] hadoop git commit: HADOOP-10993. Dump java command line to
*.out file (Contributed by Kengo Seki)
HADOOP-10993. Dump java command line to *.out file (Contributed by Kengo Seki)
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/ffbb5746
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/ffbb5746
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/ffbb5746
Branch: refs/heads/HDFS-7240
Commit: ffbb574623c2a1dbcead201e9ae2dad3f77998d0
Parents: 0daa5ad
Author: Vinayakumar B <vi...@apache.org>
Authored: Thu May 14 15:24:35 2015 +0530
Committer: Vinayakumar B <vi...@apache.org>
Committed: Thu May 14 15:24:35 2015 +0530
----------------------------------------------------------------------
hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++
.../hadoop-common/src/main/bin/hadoop-functions.sh | 12 ++++++++++++
2 files changed, 15 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/ffbb5746/hadoop-common-project/hadoop-common/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt
index bf39c94..359a38b 100644
--- a/hadoop-common-project/hadoop-common/CHANGES.txt
+++ b/hadoop-common-project/hadoop-common/CHANGES.txt
@@ -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
http://git-wip-us.apache.org/repos/asf/hadoop/blob/ffbb5746/hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh
----------------------------------------------------------------------
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 85f8200..67e8870 100644
--- a/hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh
+++ b/hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh
@@ -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