From 8847777ae428dac52cf65cedd360e3702dd75e2f Mon Sep 17 00:00:00 2001 From: Allen Wittenauer Date: Sun, 26 Apr 2015 15:51:08 -0700 Subject: [PATCH] HADOOP-11357. Print information of the build enviornment in test-patch.sh (aw) --- dev-support/test-patch.sh | 17 +++++++++++++++++ hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++ 2 files changed, 20 insertions(+) diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh index 2537e8572d..e331debe65 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} diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index 5ba71a457d..597496a3fe 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