You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Andrew Bayer (JIRA)" <ji...@apache.org> on 2012/08/24 00:25:43 UTC
[jira] [Resolved] (WHIRR-643) cdh4 init scripts 'status' subcommand
broken on HADOOP_PID_DIR mismatch
[ https://issues.apache.org/jira/browse/WHIRR-643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Bayer resolved WHIRR-643.
--------------------------------
Resolution: Duplicate
> 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