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

Raghotham Murthy commented on HADOOP-4090:
------------------------------------------

Right now, the CLI (shell script) looks for
1. hadoop in path
2. env variable HADOOP
Then, the clidriver looks at two hadoop paths in the xml

All of this can be replaced by just HADOOP_HOME env variable which is already 
used by hadoop. 

Another approach is what PIG does. It requires specification of HADOOPSITEPATH 
(directory containing hadoop-site.xml). hadoop bin is picked up from 
$HADOOPSITEPATH/../bin/hadoop. This will allow users to have multiple hadoop 
sites with the same bin directory.

> 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
>            Reporter: Ashish Thusoo
>            Priority: Minor
>
> 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