hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Bieniosek (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (HADOOP-1825) hadoop-daemon.sh script fails if HADOOP_PID_DIR doesn't exist
Date Wed, 24 Oct 2007 21:23:50 GMT

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


Mime
View raw message