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

Arpit Gupta commented on HADOOP-9422:
-------------------------------------

I can take this up.

One thing we could do is not have the static variable defined but call the 
appropriate method when needed. I will upload a patch for that. Also it looks 
like getHadoopHome is not being used in the project and getQualifiedBinPath is 
being used in getWinUtilsPath only when windows env is there.

So we would also remove getHadoopHome and leave the getQualifiedBinPath there.
                
> HADOOP_HOME should not be required to be set to be able to launch commands 
> using hadoop.util.Shell
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-9422
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9422
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Hitesh Shah
>            Assignee: Arpit Gupta
>         Attachments: HADOOP-9422.patch
>
>
> Not sure why this is an enforced requirement especially in cases where a 
> deployment is done using multiple tar-balls ( one each for 
> common/hdfs/mapreduce/yarn ). 

--
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