Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7104AD38D for ; Mon, 4 Feb 2013 21:58:13 +0000 (UTC) Received: (qmail 81062 invoked by uid 500); 4 Feb 2013 21:58:13 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 81031 invoked by uid 500); 4 Feb 2013 21:58:13 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 80958 invoked by uid 99); 4 Feb 2013 21:58:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2013 21:58:13 +0000 Date: Mon, 4 Feb 2013 21:58:12 +0000 (UTC) From: "Jason Lowe (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-9260) Hadoop version may be not correct when starting name node or data node MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-9260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13570674#comment-13570674 ] Jason Lowe commented on HADOOP-9260: ------------------------------------ +1, changes look good to me and is aligned with HADOOP-9116 wrt. source jar placement. Giving Jerry some time to kick the tires on the patch before committing. > Hadoop version may be not correct when starting name node or data node > ---------------------------------------------------------------------- > > Key: HADOOP-9260 > URL: https://issues.apache.org/jira/browse/HADOOP-9260 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: trunk-win > Reporter: Jerry Chen > Assignee: Chris Nauroth > Priority: Critical > Attachments: HADOOP-9260.1.patch > > > 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira