Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 13D06ECD1 for ; Thu, 28 Feb 2013 23:51:16 +0000 (UTC) Received: (qmail 98296 invoked by uid 500); 28 Feb 2013 23:51:14 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 98253 invoked by uid 500); 28 Feb 2013 23:51:14 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 98188 invoked by uid 99); 28 Feb 2013 23:51:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2013 23:51:14 +0000 Date: Thu, 28 Feb 2013 23:51:14 +0000 (UTC) From: "Sandy Ryza (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MAPREDUCE-4659) Confusing output when running "hadoop version" from one hadoop installation when HADOOP_HOME points to another 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/MAPREDUCE-4659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sandy Ryza updated MAPREDUCE-4659: ---------------------------------- Attachment: MAPREDUCE-4659-7.patch Added JobConf#findContainingJar back in in trunk > Confusing output when running "hadoop version" from one hadoop installation when HADOOP_HOME points to another > -------------------------------------------------------------------------------------------------------------- > > Key: MAPREDUCE-4659 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4659 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: client > Affects Versions: 0.20.2, 2.0.1-alpha > Reporter: Sandy Ryza > Assignee: Sandy Ryza > Attachments: MAPREDUCE-4659-2.patch, MAPREDUCE-4659-3.patch, MAPREDUCE-4659-4.patch, MAPREDUCE-4659-5.patch, MAPREDUCE-4659-6.patch, MAPREDUCE-4659-6.patch, MAPREDUCE-4659-7.patch, MAPREDUCE-4659-branch-1.patch, MAPREDUCE-4659.patch > > > Hadoop version X is downloaded to ~/hadoop-x, and Hadoop version Y is downloaded to ~/hadoop-y. HADOOP_HOME is set to hadoop-x. A user running hadoop-y/bin/hadoop might expect to be running the hadoop-y jars, but, because of HADOOP_HOME, will actually be running hadoop-x jars. > "hadoop version" could help clear this up a little by reporting the current HADOOP_HOME. -- 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