Return-Path: X-Original-To: apmail-hadoop-common-commits-archive@www.apache.org Delivered-To: apmail-hadoop-common-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 095CC1799B for ; Fri, 1 May 2015 07:01:27 +0000 (UTC) Received: (qmail 3393 invoked by uid 500); 1 May 2015 07:01:19 -0000 Delivered-To: apmail-hadoop-common-commits-archive@hadoop.apache.org Received: (qmail 2905 invoked by uid 500); 1 May 2015 07:01:19 -0000 Mailing-List: contact common-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-commits@hadoop.apache.org Received: (qmail 1618 invoked by uid 99); 1 May 2015 07:01:18 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2015 07:01:18 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 4C61EE41E3; Fri, 1 May 2015 07:01:18 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jitendra@apache.org To: common-commits@hadoop.apache.org Date: Fri, 01 May 2015 07:01:30 -0000 Message-Id: In-Reply-To: <25248dba8a894e5ca156f9e3aaee1ea3@git.apache.org> References: <25248dba8a894e5ca156f9e3aaee1ea3@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [13/50] [abbrv] hadoop git commit: HADOOP-11357. Print information of the build enviornment in test-patch.sh (aw) 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 Authored: Sun Apr 26 15:51:08 2015 -0700 Committer: Allen Wittenauer 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