[ 
https://issues.apache.org/jira/browse/HADOOP-6606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12839981#action_12839981
 ] 

Eli Collins commented on HADOOP-6606:
-------------------------------------

Having a configuration option for the pid dir is genuinely useful, as seen on 
the lists the default frequently bites new users. 
Other programs provide similar options, eg see 
http://httpd.apache.org/docs/1.3/mod/core.html#pidfile. 
What's the default pid directory on solaris? Googling doesn't seem to turn up 
one, if there's no standard across the operating systems than defaulting to a 
hadoop base dir, the same raitionale was used for the logs dir no?

> Change the default HADOOP_PID_DIR to $HADOOP_HOME/pids
> ------------------------------------------------------
>
>                 Key: HADOOP-6606
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6606
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 0.20.2
>            Reporter: Chad Metcalf
>            Assignee: Chad Metcalf
>         Attachments: HADOOP-6606.patch
>
>
> /tmp should not be used as a pid directory. There is too high a likelihood 
> that pid files could be altered or deleted. A more reasonable default is 
> $HADOOP_HOME/pids. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to