You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Michael Bieniosek (JIRA)" <ji...@apache.org> on 2007/10/24 23:23:50 UTC

[jira] Reopened: (HADOOP-1825) hadoop-daemon.sh script fails if HADOOP_PID_DIR doesn't exist

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

Michael Bieniosek reopened HADOOP-1825:
---------------------------------------


This patch is wrong.  The first line should be

    if [ ! -d "$HADOOP_PID_DIR" ]; then

Note the $ in front of HADOOP_PID_DIR

> 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
>             Fix For: 0.15.0
>
>         Attachments: 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.