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

Harsh J commented on MAPREDUCE-4659:
------------------------------------

Good idea, I've seen this bite a few users before. Note though, that on 2.x and 
current 1.x, the HADOOP_HOME was deprecated for HADOOP_PREFIX and per-component 
homes. So maybe we could also look at HADOOP_COMMON_HOME, which is the lib set 
that has the VersionInfo?
                
> 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
>            Reporter: Sandy Ryza
>
> 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

Reply via email to