HADOOP-11357. Print information of the build enviornment in test-patch.sh (aw)
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/8847777a Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/8847777a Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/8847777a Branch: refs/heads/HDFS-7240 Commit: 8847777ae428dac52cf65cedd360e3702dd75e2f Parents: 8b69c82 Author: Allen Wittenauer <[email protected]> Authored: Sun Apr 26 15:51:08 2015 -0700 Committer: Allen Wittenauer <[email protected]> Committed: Sun Apr 26 15:51:08 2015 -0700 ---------------------------------------------------------------------- dev-support/test-patch.sh | 17 +++++++++++++++++ hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++ 2 files changed, 20 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/8847777a/dev-support/test-patch.sh ---------------------------------------------------------------------- diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh index 2537e85..e331deb 100755 --- a/dev-support/test-patch.sh +++ b/dev-support/test-patch.sh @@ -234,6 +234,21 @@ function add_jira_table fi } +## @description Put the final environment information at the bottom +## @description of the footer table +## @stability stable +## @audience private +## @replaceable yes +function close_jira_footer +{ + # shellcheck disable=SC2016 + local -r javaversion=$("${JAVA_HOME}/bin/java" -version 2>&1 | head -1 | ${AWK} '{print $NF}' | tr -d \") + local -r unamea=$(uname -a) + + add_jira_footer "Java" "${javaversion}" + add_jira_footer "uname" "${unamea}" +} + ## @description Put the final elapsed time at the bottom of the table. ## @audience private ## @stability stable @@ -2389,6 +2404,8 @@ postinstall runtests +close_jira_footer + close_jira_table output_to_console ${RESULT} http://git-wip-us.apache.org/repos/asf/hadoop/blob/8847777a/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 5ba71a4..597496a 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -519,6 +519,9 @@ Release 2.8.0 - UNRELEASED HADOOP-10597. RPC Server signals backoff to clients when all request queues are full. (Ming Ma via Arpit Agarwal) + HADOOP-11357. Print information of the build enviornment in test-patch.sh + (aw) + OPTIMIZATIONS HADOOP-11785. Reduce the number of listStatus operation in distcp
