[ http://issues.apache.org/jira/browse/HADOOP-388?page=all ]

Owen O'Malley updated HADOOP-388:
---------------------------------

    Attachment: absolute-dir.patch

This patch makes hadoop-config.sh create an absolute path name for HADOOP_HOME.

> the hadoop-daemons.sh fails with "no such file or directory" when used from a 
> relative path
> -------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-388
>                 URL: http://issues.apache.org/jira/browse/HADOOP-388
>             Project: Hadoop
>          Issue Type: Bug
>    Affects Versions: 0.5.0
>            Reporter: Owen O'Malley
>         Assigned To: Owen O'Malley
>             Fix For: 0.5.0
>
>         Attachments: absolute-dir.patch
>
>
> The new shell scripts fail with a relative directory:
> % current/bin/hadoop-daemons.sh start datanode
> node1: current/bin/..: No such file or directory
> node2: current/bin/..: No such file or directory
> The problem is that HADOOP_HOME is set to a relative directory and 
> hadoop-daemons does a cd, breaking the other scripts.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to