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 "Robert Joseph Evans (JIRA)" <ji...@apache.org> on 2012/05/31 23:26:22 UTC

[jira] [Created] (HADOOP-8460) Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR

Robert Joseph Evans created HADOOP-8460:
-------------------------------------------

             Summary: Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR
                 Key: HADOOP-8460
                 URL: https://issues.apache.org/jira/browse/HADOOP-8460
             Project: Hadoop Common
          Issue Type: Bug
          Components: documentation
    Affects Versions: 2.0.0-alpha, 1.0.3
            Reporter: Robert Joseph Evans
            Assignee: Robert Joseph Evans


We should document that in a properly setup cluster HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR should not point to /tmp, but should point to a directory that normal users do not have access to.

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

        

[jira] [Updated] (HADOOP-8460) Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR

Posted by "Robert Joseph Evans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Joseph Evans updated HADOOP-8460:
----------------------------------------

    Attachment: HADOOP-8460-trunk.txt
                HADOOP-8460-branch-1.txt

Updated text of patches following Aaron's comments.
                
> Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-8460
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8460
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 1.0.3, 2.0.0-alpha
>            Reporter: Robert Joseph Evans
>            Assignee: Robert Joseph Evans
>         Attachments: HADOOP-8460-branch-1.txt, HADOOP-8460-branch-1.txt, HADOOP-8460-trunk.txt, HADOOP-8460-trunk.txt
>
>
> We should document that in a properly setup cluster HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR should not point to /tmp, but should point to a directory that normal users do not have access to.

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

        

[jira] [Commented] (HADOOP-8460) Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR

Posted by "Aaron T. Myers (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13287001#comment-13287001 ] 

Aaron T. Myers commented on HADOOP-8460:
----------------------------------------

Tiny nit:

{quote}
+# NOTE: these should be set to a directory that general users do not have write
+#       permission.
{quote}

I think you should invert the direction of this sentence, similarly to the other warning, i.e. "these should be set to a directory that can only be written to by..."

+1 otherwise
                
> Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-8460
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8460
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 1.0.3, 2.0.0-alpha
>            Reporter: Robert Joseph Evans
>            Assignee: Robert Joseph Evans
>         Attachments: HADOOP-8460-branch-1.txt, HADOOP-8460-trunk.txt
>
>
> We should document that in a properly setup cluster HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR should not point to /tmp, but should point to a directory that normal users do not have access to.

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

        

[jira] [Commented] (HADOOP-8460) Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13287623#comment-13287623 ] 

Hudson commented on HADOOP-8460:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #2310 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2310/])
    HADOOP-8460. Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR (bobby) (Revision 1345304)

     Result = SUCCESS
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1345304
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/conf/hadoop-env.sh
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/ClusterSetup.apt.vm

                
> Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-8460
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8460
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 1.0.3, 2.0.0-alpha
>            Reporter: Robert Joseph Evans
>            Assignee: Robert Joseph Evans
>             Fix For: 1.2.0, 2.0.1-alpha, 3.0.0
>
>         Attachments: HADOOP-8460-branch-1.txt, HADOOP-8460-branch-1.txt, HADOOP-8460-trunk.txt, HADOOP-8460-trunk.txt
>
>
> We should document that in a properly setup cluster HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR should not point to /tmp, but should point to a directory that normal users do not have access to.

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

        

[jira] [Updated] (HADOOP-8460) Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR

Posted by "Robert Joseph Evans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Joseph Evans updated HADOOP-8460:
----------------------------------------

    Status: Open  (was: Patch Available)
    
> Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-8460
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8460
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 2.0.0-alpha, 1.0.3
>            Reporter: Robert Joseph Evans
>            Assignee: Robert Joseph Evans
>         Attachments: HADOOP-8460-branch-1.txt, HADOOP-8460-trunk.txt
>
>
> We should document that in a properly setup cluster HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR should not point to /tmp, but should point to a directory that normal users do not have access to.

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

        

[jira] [Commented] (HADOOP-8460) Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13287455#comment-13287455 ] 

Hadoop QA commented on HADOOP-8460:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12530552/HADOOP-8460-trunk.txt
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    +0 tests included.  The patch appears to be a documentation patch that doesn't require tests.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    -1 core tests.  The patch failed these unit tests in hadoop-common-project/hadoop-common hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site:

                  org.apache.hadoop.fs.viewfs.TestViewFsTrash

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/1068//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1068//console

This message is automatically generated.
                
> Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-8460
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8460
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 1.0.3, 2.0.0-alpha
>            Reporter: Robert Joseph Evans
>            Assignee: Robert Joseph Evans
>         Attachments: HADOOP-8460-branch-1.txt, HADOOP-8460-branch-1.txt, HADOOP-8460-trunk.txt, HADOOP-8460-trunk.txt
>
>
> We should document that in a properly setup cluster HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR should not point to /tmp, but should point to a directory that normal users do not have access to.

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

        

[jira] [Commented] (HADOOP-8460) Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13287613#comment-13287613 ] 

Hudson commented on HADOOP-8460:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #2327 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2327/])
    HADOOP-8460. Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR (bobby) (Revision 1345304)

     Result = FAILURE
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1345304
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/conf/hadoop-env.sh
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/ClusterSetup.apt.vm

                
> Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-8460
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8460
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 1.0.3, 2.0.0-alpha
>            Reporter: Robert Joseph Evans
>            Assignee: Robert Joseph Evans
>             Fix For: 1.2.0, 2.0.1-alpha, 3.0.0
>
>         Attachments: HADOOP-8460-branch-1.txt, HADOOP-8460-branch-1.txt, HADOOP-8460-trunk.txt, HADOOP-8460-trunk.txt
>
>
> We should document that in a properly setup cluster HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR should not point to /tmp, but should point to a directory that normal users do not have access to.

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

        

[jira] [Commented] (HADOOP-8460) Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13287003#comment-13287003 ] 

Hadoop QA commented on HADOOP-8460:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12530465/HADOOP-8460-branch-1.txt
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    +0 tests included.  The patch appears to be a documentation patch that doesn't require tests.

    -1 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1066//console

This message is automatically generated.
                
> Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-8460
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8460
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 1.0.3, 2.0.0-alpha
>            Reporter: Robert Joseph Evans
>            Assignee: Robert Joseph Evans
>         Attachments: HADOOP-8460-branch-1.txt, HADOOP-8460-trunk.txt
>
>
> We should document that in a properly setup cluster HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR should not point to /tmp, but should point to a directory that normal users do not have access to.

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

        

[jira] [Commented] (HADOOP-8460) Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13287893#comment-13287893 ] 

Hudson commented on HADOOP-8460:
--------------------------------

Integrated in Hadoop-Hdfs-trunk #1064 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1064/])
    HADOOP-8460. Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR (bobby) (Revision 1345304)

     Result = FAILURE
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1345304
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/conf/hadoop-env.sh
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/ClusterSetup.apt.vm

                
> Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-8460
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8460
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 1.0.3, 2.0.0-alpha
>            Reporter: Robert Joseph Evans
>            Assignee: Robert Joseph Evans
>             Fix For: 1.2.0, 2.0.1-alpha, 3.0.0
>
>         Attachments: HADOOP-8460-branch-1.txt, HADOOP-8460-branch-1.txt, HADOOP-8460-trunk.txt, HADOOP-8460-trunk.txt
>
>
> We should document that in a properly setup cluster HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR should not point to /tmp, but should point to a directory that normal users do not have access to.

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

        

[jira] [Commented] (HADOOP-8460) Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR

Posted by "Roman Shaposhnik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13287477#comment-13287477 ] 

Roman Shaposhnik commented on HADOOP-8460:
------------------------------------------

@Robert, I just wanted to have a fuller record of what's going on with various Hadoop deployments models on this JIRA for folks to to get a full disclosure.
                
> Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-8460
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8460
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 1.0.3, 2.0.0-alpha
>            Reporter: Robert Joseph Evans
>            Assignee: Robert Joseph Evans
>         Attachments: HADOOP-8460-branch-1.txt, HADOOP-8460-branch-1.txt, HADOOP-8460-trunk.txt, HADOOP-8460-trunk.txt
>
>
> We should document that in a properly setup cluster HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR should not point to /tmp, but should point to a directory that normal users do not have access to.

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

        

[jira] [Updated] (HADOOP-8460) Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR

Posted by "Robert Joseph Evans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Joseph Evans updated HADOOP-8460:
----------------------------------------

    Status: Patch Available  (was: Open)
    
> Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-8460
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8460
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 2.0.0-alpha, 1.0.3
>            Reporter: Robert Joseph Evans
>            Assignee: Robert Joseph Evans
>         Attachments: HADOOP-8460-trunk.txt
>
>
> We should document that in a properly setup cluster HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR should not point to /tmp, but should point to a directory that normal users do not have access to.

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

        

[jira] [Updated] (HADOOP-8460) Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR

Posted by "Robert Joseph Evans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Joseph Evans updated HADOOP-8460:
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.0
                   2.0.1-alpha
                   1.2.0
           Status: Resolved  (was: Patch Available)

I put this into trunk, branch-2, and branch-1.
                
> Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-8460
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8460
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 1.0.3, 2.0.0-alpha
>            Reporter: Robert Joseph Evans
>            Assignee: Robert Joseph Evans
>             Fix For: 1.2.0, 2.0.1-alpha, 3.0.0
>
>         Attachments: HADOOP-8460-branch-1.txt, HADOOP-8460-branch-1.txt, HADOOP-8460-trunk.txt, HADOOP-8460-trunk.txt
>
>
> We should document that in a properly setup cluster HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR should not point to /tmp, but should point to a directory that normal users do not have access to.

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

        

[jira] [Updated] (HADOOP-8460) Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR

Posted by "Robert Joseph Evans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Joseph Evans updated HADOOP-8460:
----------------------------------------

    Attachment: HADOOP-8460-branch-1.txt

This patch is intended for branch-1.
                
> Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-8460
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8460
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 1.0.3, 2.0.0-alpha
>            Reporter: Robert Joseph Evans
>            Assignee: Robert Joseph Evans
>         Attachments: HADOOP-8460-branch-1.txt, HADOOP-8460-trunk.txt
>
>
> We should document that in a properly setup cluster HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR should not point to /tmp, but should point to a directory that normal users do not have access to.

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

        

[jira] [Commented] (HADOOP-8460) Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR

Posted by "Aaron T. Myers (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13287542#comment-13287542 ] 

Aaron T. Myers commented on HADOOP-8460:
----------------------------------------

+1, the latest patches look good to me.
                
> Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-8460
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8460
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 1.0.3, 2.0.0-alpha
>            Reporter: Robert Joseph Evans
>            Assignee: Robert Joseph Evans
>         Attachments: HADOOP-8460-branch-1.txt, HADOOP-8460-branch-1.txt, HADOOP-8460-trunk.txt, HADOOP-8460-trunk.txt
>
>
> We should document that in a properly setup cluster HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR should not point to /tmp, but should point to a directory that normal users do not have access to.

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

        

[jira] [Commented] (HADOOP-8460) Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13287947#comment-13287947 ] 

Hudson commented on HADOOP-8460:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk #1098 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1098/])
    HADOOP-8460. Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR (bobby) (Revision 1345304)

     Result = FAILURE
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1345304
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/conf/hadoop-env.sh
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/ClusterSetup.apt.vm

                
> Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-8460
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8460
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 1.0.3, 2.0.0-alpha
>            Reporter: Robert Joseph Evans
>            Assignee: Robert Joseph Evans
>             Fix For: 1.2.0, 2.0.1-alpha, 3.0.0
>
>         Attachments: HADOOP-8460-branch-1.txt, HADOOP-8460-branch-1.txt, HADOOP-8460-trunk.txt, HADOOP-8460-trunk.txt
>
>
> We should document that in a properly setup cluster HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR should not point to /tmp, but should point to a directory that normal users do not have access to.

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

        

[jira] [Commented] (HADOOP-8460) Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13287625#comment-13287625 ] 

Hudson commented on HADOOP-8460:
--------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #2382 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2382/])
    HADOOP-8460. Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR (bobby) (Revision 1345304)

     Result = SUCCESS
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1345304
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/conf/hadoop-env.sh
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/ClusterSetup.apt.vm

                
> Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-8460
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8460
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 1.0.3, 2.0.0-alpha
>            Reporter: Robert Joseph Evans
>            Assignee: Robert Joseph Evans
>             Fix For: 1.2.0, 2.0.1-alpha, 3.0.0
>
>         Attachments: HADOOP-8460-branch-1.txt, HADOOP-8460-branch-1.txt, HADOOP-8460-trunk.txt, HADOOP-8460-trunk.txt
>
>
> We should document that in a properly setup cluster HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR should not point to /tmp, but should point to a directory that normal users do not have access to.

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

        

[jira] [Commented] (HADOOP-8460) Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR

Posted by "Roman Shaposhnik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13287025#comment-13287025 ] 

Roman Shaposhnik commented on HADOOP-8460:
------------------------------------------

This is one of the things that the packaging takes care of. Not sure what's the story with Hadoop native packages, but Bigtop puts everything in /var/run... so this is not a problem
                
> Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-8460
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8460
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 1.0.3, 2.0.0-alpha
>            Reporter: Robert Joseph Evans
>            Assignee: Robert Joseph Evans
>         Attachments: HADOOP-8460-branch-1.txt, HADOOP-8460-trunk.txt
>
>
> We should document that in a properly setup cluster HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR should not point to /tmp, but should point to a directory that normal users do not have access to.

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

        

[jira] [Commented] (HADOOP-8460) Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR

Posted by "Robert Joseph Evans (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13287430#comment-13287430 ] 

Robert Joseph Evans commented on HADOOP-8460:
---------------------------------------------

Roman,

Most of Hadoop's packaging also sets the default up properly, I believe that I saw /var/run... in the setup scripts too.  It is not a big issue hence it is just a major bug, and we could drop it to minor if you want.  There is still a potential security hole if you are installing from the TGZ, and it is good to warn users about it so they don't misconfigure it themselves.  If you want me to change the text of the warning accordingly, I am happy to do so.

Aaron,

Thanks for the feedback I will update the patches.
                
> Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-8460
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8460
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 1.0.3, 2.0.0-alpha
>            Reporter: Robert Joseph Evans
>            Assignee: Robert Joseph Evans
>         Attachments: HADOOP-8460-branch-1.txt, HADOOP-8460-trunk.txt
>
>
> We should document that in a properly setup cluster HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR should not point to /tmp, but should point to a directory that normal users do not have access to.

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

        

[jira] [Updated] (HADOOP-8460) Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR

Posted by "Robert Joseph Evans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Joseph Evans updated HADOOP-8460:
----------------------------------------

    Attachment: HADOOP-8460-trunk.txt

This patch is for trunk/2.0. I will look at putting up a similar patch for 1.0.
                
> Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-8460
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8460
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 1.0.3, 2.0.0-alpha
>            Reporter: Robert Joseph Evans
>            Assignee: Robert Joseph Evans
>         Attachments: HADOOP-8460-trunk.txt
>
>
> We should document that in a properly setup cluster HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR should not point to /tmp, but should point to a directory that normal users do not have access to.

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

        

[jira] [Commented] (HADOOP-8460) Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13287005#comment-13287005 ] 

Hadoop QA commented on HADOOP-8460:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12530464/HADOOP-8460-trunk.txt
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    +0 tests included.  The patch appears to be a documentation patch that doesn't require tests.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    -1 core tests.  The patch failed these unit tests in hadoop-common-project/hadoop-common hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site:

                  org.apache.hadoop.fs.viewfs.TestViewFsTrash

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/1065//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1065//console

This message is automatically generated.
                
> Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-8460
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8460
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 1.0.3, 2.0.0-alpha
>            Reporter: Robert Joseph Evans
>            Assignee: Robert Joseph Evans
>         Attachments: HADOOP-8460-branch-1.txt, HADOOP-8460-trunk.txt
>
>
> We should document that in a properly setup cluster HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR should not point to /tmp, but should point to a directory that normal users do not have access to.

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

        

[jira] [Closed] (HADOOP-8460) Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR

Posted by "Arun C Murthy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arun C Murthy closed HADOOP-8460.
---------------------------------

    
> Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-8460
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8460
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 1.0.3, 2.0.0-alpha
>            Reporter: Robert Joseph Evans
>            Assignee: Robert Joseph Evans
>             Fix For: 1.2.0, 3.0.0, 2.0.2-alpha
>
>         Attachments: HADOOP-8460-branch-1.txt, HADOOP-8460-branch-1.txt, HADOOP-8460-trunk.txt, HADOOP-8460-trunk.txt
>
>
> We should document that in a properly setup cluster HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR should not point to /tmp, but should point to a directory that normal users do not have access to.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HADOOP-8460) Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR

Posted by "Robert Joseph Evans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Joseph Evans updated HADOOP-8460:
----------------------------------------

    Status: Patch Available  (was: Open)
    
> Document proper setting of HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-8460
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8460
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 2.0.0-alpha, 1.0.3
>            Reporter: Robert Joseph Evans
>            Assignee: Robert Joseph Evans
>         Attachments: HADOOP-8460-branch-1.txt, HADOOP-8460-branch-1.txt, HADOOP-8460-trunk.txt, HADOOP-8460-trunk.txt
>
>
> We should document that in a properly setup cluster HADOOP_PID_DIR and HADOOP_SECURE_DN_PID_DIR should not point to /tmp, but should point to a directory that normal users do not have access to.

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