Bladeren bron

HADOOP-12388. Fix components' version information in the web page About the Cluster. Contributed by Jun Gong.

(cherry picked from commit d9c1fab2ec2930a011b7cca4a393881d39b8f6ec)
Zhihai Xu 9 jaren geleden
bovenliggende
commit
113f778303

+ 3 - 0
hadoop-common-project/hadoop-common/CHANGES.txt

@@ -603,6 +603,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

+ 1 - 1
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();