Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
trunk-win
-
None
-
None
-
Reviewed
Description
1. Check out the trunk from http://svn.apache.org/repos/asf/hadoop/common/trunk/ -r 1439752
2. Compile package
m2 package -Pdist -Psrc -Pnative -Dtar -DskipTests
3. Hadoop version of compiled dist shows the following:
Hadoop ${pom.version}
Subversion ${version-info.scm.uri} -r ${version-info.scm.commit}
Compiled by ${user.name} on ${version-info.build.time}
From source with checksum ${version-info.source.md5}
And in a real cluster, the log in name node shows:
2013-01-29 15:23:42,738 INFO org.apache.hadoop.hdfs.server.namenode.NameNode: STARTUP_MSG:
/************************************************************
STARTUP_MSG: Starting NameNode
STARTUP_MSG: host = bdpe01.sh.intel.com/10.239.47.101
STARTUP_MSG: args = []
STARTUP_MSG: version = ${pom.version}
STARTUP_MSG: classpath = ...
STARTUP_MSG: build = ${version-info.scm.uri} -r ${version-info.scm.commit}; compiled by '${user.name}' on ${version-info.build.time}
STARTUP_MSG: java = 1.6.0_33
While some data nodes with the same binary shows the correct version information.
Attachments
Attachments
Issue Links
- is broken by
-
HADOOP-8924 Add maven plugin alternative to shell script to save package-info.java
- Closed
- relates to
-
HADOOP-9116 test and source JARs should not be in cluster classpath
- Patch Available
-
HADOOP-8723 Remove tests and tests-sources jars from classpath
- Resolved