HADOOP-11041. VersionInfo specifies subversion (Tsuyoshi OZAWA via aw)

This commit is contained in:
Allen Wittenauer 2014-09-02 12:02:29 -07:00
parent 329b65958f
commit e06d2e3c98
2 changed files with 4 additions and 1 deletions

View File

@ -127,6 +127,8 @@ Trunk (Unreleased)
HADOOP-11013. CLASSPATH handling should be consolidated, debuggable (aw) HADOOP-11013. CLASSPATH handling should be consolidated, debuggable (aw)
HADOOP-11041. VersionInfo specifies subversion (Tsuyoshi OZAWA via aw)
BUG FIXES BUG FIXES
HADOOP-9451. Fault single-layer config if node group topology is enabled. HADOOP-9451. Fault single-layer config if node group topology is enabled.

View File

@ -170,7 +170,8 @@ public static String getProtocVersion(){
public static void main(String[] args) { public static void main(String[] args) {
LOG.debug("version: "+ getVersion()); LOG.debug("version: "+ getVersion());
System.out.println("Hadoop " + getVersion()); System.out.println("Hadoop " + getVersion());
System.out.println("Subversion " + getUrl() + " -r " + getRevision()); System.out.println("Source code repository " + getUrl() + " -r " +
getRevision());
System.out.println("Compiled by " + getUser() + " on " + getDate()); System.out.println("Compiled by " + getUser() + " on " + getDate());
System.out.println("Compiled with protoc " + getProtocVersion()); System.out.println("Compiled with protoc " + getProtocVersion());
System.out.println("From source with checksum " + getSrcChecksum()); System.out.println("From source with checksum " + getSrcChecksum());