[
https://issues.apache.org/jira/browse/BIGTOP-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13098467#comment-13098467
]
Bruno Mahé commented on BIGTOP-20:
----------------------------------
+1
> 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
> Components: Debian, RPM
> Affects Versions: 0.1.0
> Reporter: Roman Shaposhnik
> Assignee: Roman Shaposhnik
> Priority: Minor
> Fix For: 0.2.0
>
> Attachments: BIGTOP-20.patch.txt
>
>
> 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