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

Steve Loughran commented on HADOOP-4090:
----------------------------------------

> we can also calculate the location of the hadoop shell script from the 
> location of the hive script itself. that is generally what hadoop itself does 
> by finding things relative to itself.

that's risky -it is making a lot of assumptions about  how hadoop has been 
deployed, assumptions that break on RPM or similar OS-integrated packagings. 
Better to rely on the env variable and be done with it. Certainly its easier to 
test, which is always good.

> The configuration file lists two paths to hadoop directories (bin and conf).  
> Startup should check that these are valid directories and give appropriate 
> messages.
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4090
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4090
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: contrib/hive
>    Affects Versions: 0.19.0
>            Reporter: Ashish Thusoo
>            Priority: Minor
>         Attachments: hadoop-4090.2.patch, hadoop-4090.patch
>
>
> The configuration file lists two paths to hadoop directories (bin and conf).  
> Startup should check that these are valid directories and give appropriate 
> messages.
> Reported by Chad.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to