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

Eric Yang commented on HADOOP-7438:
-----------------------------------

The recent changes is to ensure that hadoop-common, hadoop-hdfs, 
hadoop-mapreduce are installed to the same location. i.e. 
hadoop-[common|hdfs|mapreduce]-0.23.0/* move to /usr directory.  This may not 
seem intuitive if user decided to keep hadoop bits in three separated 
directories.  How about we added a IF condition?

How about we check for existence of HADOOP_HDFS_HOME variable? if this is 
defined, use HADOOP_HDFS_HOME/bin/hdfs.  If it does not exist, then fallback to 
HADOOP_PREFIX/bin/hdfs.  This will ensure the script works for separated 
directories and as merged directory.

> Using the hadoop-deamon.sh script to start nodes leads to a depricated 
> warning 
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-7438
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7438
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 0.22.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>         Attachments: HADOOP-7438.1.patch
>
>
> hadoop-daemon.sh calls common/bin/hadoop for hdfs/bin/hdfs tasks and so 
> common/bin/hadoop complains its deprecated for those uses.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to