HADOOP-11357. Print information of the build enviornment in test-patch.sh (aw)

This commit is contained in:
Allen Wittenauer 2015-04-26 15:51:08 -07:00
parent 8b69c825e5
commit 8847777ae4
2 changed files with 20 additions and 0 deletions

View File

@ -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}

View File

@ -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