hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Abdelnur (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-4659) Confusing output when running "hadoop version" from one hadoop installation when HADOOP_HOME points to another
Date Mon, 08 Oct 2012 21:18:03 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-4659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13471867#comment-13471867
] 

Alejandro Abdelnur commented on MAPREDUCE-4659:
-----------------------------------------------

Instead duplicating the code for findContainingJar() we should create a util class (annotated
as private) and used from JobConf.java & VersionInfo.java.
                
> 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
>         Attachments: MAPREDUCE-4659-2.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

Mime
View raw message