Karel Vervaeke created WHIRR-643:
------------------------------------

             Summary: cdh4 init scripts 'status' subcommand broken on 
HADOOP_PID_DIR mismatch
                 Key: WHIRR-643
                 URL: https://issues.apache.org/jira/browse/WHIRR-643
             Project: Whirr
          Issue Type: Bug
         Environment: CDH4
hadoop-hdfs-namenode version 2.0.0+91-1.cdh4.0.1.p0.1~lucid-cdh4.0.1
            Reporter: Karel Vervaeke


I think we should avoid setting HADOOP_PID_DIR when installing cdh4:

/etc/init.d/hadoop-hdfs-namenode start/stop uses $HADOOP_PID_DIR to pick a 
pidfile.

/etc/init.d/hadoop-hdfs-namenode status uses a hardcoded file ($PIDFILE).

This means the 'status' subcommand is broken when you override HADOOP_PID_DIR 
in hadoop-env.sh.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to