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

Todd Lipcon commented on MAPREDUCE-4659:
----------------------------------------

Or perhaps just print the path to the hadoop common jar itself? That way this 
works even for projects like HBase that depend on Hadoop and print the hadoop 
version info in their webpage. It's also more independent of packaging, etc.
                
> 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