HADOOP-12388. Fix components' version information in the web page About the Cluster. Contributed by Jun Gong.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/d9c1fab2 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/d9c1fab2 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/d9c1fab2 Branch: refs/heads/YARN-1197 Commit: d9c1fab2ec2930a011b7cca4a393881d39b8f6ec Parents: 16b9037 Author: Zhihai Xu <[email protected]> Authored: Tue Sep 8 13:06:36 2015 -0700 Committer: Zhihai Xu <[email protected]> Committed: Tue Sep 8 13:06:36 2015 -0700 ---------------------------------------------------------------------- hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++ .../src/main/java/org/apache/hadoop/util/VersionInfo.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/d9c1fab2/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 573b2de..95e58af 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -1100,6 +1100,9 @@ Release 2.8.0 - UNRELEASED HADOOP-10318. Incorrect reference to nodeFile in RumenToSLSConverter error message. (Wei Yan via ozawa) + HADOOP-12388. Fix components' version information in the web page + 'About the Cluster'. (Jun Gong via zxu) + Release 2.7.2 - UNRELEASED INCOMPATIBLE CHANGES http://git-wip-us.apache.org/repos/asf/hadoop/blob/d9c1fab2/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/VersionInfo.java ---------------------------------------------------------------------- diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/VersionInfo.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/VersionInfo.java index 1d96d99..324c57f 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/VersionInfo.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/VersionInfo.java @@ -86,7 +86,7 @@ public class VersionInfo { } protected String _getBuildVersion(){ - return getVersion() + + return _getVersion() + " from " + _getRevision() + " by " + _getUser() + " source checksum " + _getSrcChecksum();
