[
https://issues.apache.org/jira/browse/BIGTOP-20?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roman Shaposhnik reassigned BIGTOP-20:
--------------------------------------
Assignee: Roman Shaposhnik
> hard-coded pid location in Hadoop init.d scripts
> ------------------------------------------------
>
> Key: BIGTOP-20
> URL: https://issues.apache.org/jira/browse/BIGTOP-20
> Project: Bigtop
> Issue Type: Bug
> Reporter: Roman Shaposhnik
> Assignee: Roman Shaposhnik
> Priority: Minor
>
> The init.d scripts have a hard-coded PID file, e.g.:
> PIDFILE="/var/run/hadoop-0.20/hadoop-$HADOOP_IDENT_STRING-namenode.pid"
> The init scripts should instead respect the values set in hadoop-env.sh
> Current work-around is to set HADOOP_PID_DIR in hadoop-env.sh to
> /var/run/hadoop-0.20. Note that HADOOP_IDENT_STRING must be set to the same
> value in both /etc/default/hadoop-0.20 and hadoop-env.sh for the pid file to
> be found. It defaults to "hadoop" in /etc/default/hadoop-0.20.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira