You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2010/03/02 02:54:05 UTC

[jira] Commented: (HADOOP-6606) Change the default HADOOP_PID_DIR to $HADOOP_HOME/pids

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

Allen Wittenauer commented on HADOOP-6606:
------------------------------------------

> There is too high a likelihood that pid files could be altered or deleted.

If this was wikipedia, I'd add a "citation needed" flag. 

> A more reasonable default is $HADOOP_HOME/pids.

Same thing.  

Why not use the logs dir rather than introduce another dir?  What happens when the mapred framework and the hdfs framework are run as different users?  Does LinuxTaskController being on have any impact?  What happens if hadoop-env.sh sets the pid dir, do we honor that?  Are we building a "software fix" to work around what is ultimately an installation issue?



> 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.