[ 
https://issues.apache.org/jira/browse/HADOOP-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Bieniosek updated HADOOP-1825:
--------------------------------------

    Attachment: hadoop-1825-refix.patch

Since mkdir -p has no effect if the directory already exists, remove the test 
for directory existence.

> hadoop-daemon.sh script fails if HADOOP_PID_DIR doesn't exist
> -------------------------------------------------------------
>
>                 Key: HADOOP-1825
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1825
>             Project: Hadoop
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.14.0
>            Reporter: Michael Bieniosek
>            Priority: Minor
>         Attachments: hadoop-1825-refix.patch, hadoop-1825.patch
>
>
> If I try to bring up a datanode on a fresh machine, it will fail with this 
> error message:
> starting datanode, logging to 
> /b/hadoop/logs/hadoop-me-datanode-example.com.out
> /p/share/hadoop/bin/hadoop-daemon.sh: line 99: 
> /b/hadoop/pid/hadoop-me-datanode.pid: No such file or directory

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