You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Thomas Graves (JIRA)" <ji...@apache.org> on 2012/09/04 23:34:07 UTC

[jira] [Created] (MAPREDUCE-4633) history server doesn't set permissions on all subdirs

Thomas Graves created MAPREDUCE-4633:
----------------------------------------

             Summary: history server doesn't set permissions on all subdirs 
                 Key: MAPREDUCE-4633
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4633
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: jobhistoryserver
    Affects Versions: 0.23.3, 3.0.0, 2.2.0-alpha
            Reporter: Thomas Graves


The job history server creates a bunch of subdirectories under the "done" directory.  They are like 2012/09/03/000000.  It only sets the permissions on the last one, ie 000000 to 770.    So the 2012/09/03 aren't explicitly set so if the umask is more restrictive, they won't be set as it expects.

--
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] [Commented] (MAPREDUCE-4633) history server doesn't set permissions on all subdirs

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

Hadoop QA commented on MAPREDUCE-4633:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12543868/MAPREDUCE-4633.patch
  against trunk revision .

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

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    +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 passed unit tests in hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs.

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

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

This message is automatically generated.
                
> history server doesn't set permissions on all subdirs 
> ------------------------------------------------------
>
>                 Key: MAPREDUCE-4633
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4633
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 3.0.0, 2.2.0-alpha
>            Reporter: Thomas Graves
>            Assignee: Thomas Graves
>            Priority: Critical
>         Attachments: MAPREDUCE-4633.patch
>
>
> The job history server creates a bunch of subdirectories under the "done" directory.  They are like 2012/09/03/000000.  It only sets the permissions on the last one, ie 000000 to 770.    So the 2012/09/03 aren't explicitly set so if the umask is more restrictive, they won't be set as it expects.

--
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] (MAPREDUCE-4633) history server doesn't set permissions on all subdirs

Posted by "Thomas Graves (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-4633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Graves updated MAPREDUCE-4633:
-------------------------------------

    Priority: Critical  (was: Major)
    
> history server doesn't set permissions on all subdirs 
> ------------------------------------------------------
>
>                 Key: MAPREDUCE-4633
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4633
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 3.0.0, 2.2.0-alpha
>            Reporter: Thomas Graves
>            Assignee: Thomas Graves
>            Priority: Critical
>
> The job history server creates a bunch of subdirectories under the "done" directory.  They are like 2012/09/03/000000.  It only sets the permissions on the last one, ie 000000 to 770.    So the 2012/09/03 aren't explicitly set so if the umask is more restrictive, they won't be set as it expects.

--
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] [Commented] (MAPREDUCE-4633) history server doesn't set permissions on all subdirs

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

Robert Joseph Evans commented on MAPREDUCE-4633:
------------------------------------------------

The change looks fine to me.  It would be nice to have a unit test for this, but all it really would do is prove that HDFS-3890 is correct.  I am a +1 on this once HDFS-3890 goes in.
                
> history server doesn't set permissions on all subdirs 
> ------------------------------------------------------
>
>                 Key: MAPREDUCE-4633
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4633
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 3.0.0, 2.2.0-alpha
>            Reporter: Thomas Graves
>            Assignee: Thomas Graves
>            Priority: Critical
>         Attachments: MAPREDUCE-4633.patch
>
>
> The job history server creates a bunch of subdirectories under the "done" directory.  They are like 2012/09/03/000000.  It only sets the permissions on the last one, ie 000000 to 770.    So the 2012/09/03 aren't explicitly set so if the umask is more restrictive, they won't be set as it expects.

--
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] [Commented] (MAPREDUCE-4633) history server doesn't set permissions on all subdirs

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

Hudson commented on MAPREDUCE-4633:
-----------------------------------

Integrated in Hadoop-Hdfs-trunk #1158 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1158/])
    MAPREDUCE-4633. history server doesn't set permissions on all subdirs (tgraves via bobby) (Revision 1381614)

     Result = FAILURE
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1381614
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/main/java/org/apache/hadoop/mapreduce/v2/jobhistory/JobHistoryUtils.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/HistoryFileManager.java

                
> history server doesn't set permissions on all subdirs 
> ------------------------------------------------------
>
>                 Key: MAPREDUCE-4633
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4633
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 3.0.0, 2.2.0-alpha
>            Reporter: Thomas Graves
>            Assignee: Thomas Graves
>            Priority: Critical
>             Fix For: 0.23.3, 3.0.0, 2.2.0-alpha
>
>         Attachments: MAPREDUCE-4633.patch
>
>
> The job history server creates a bunch of subdirectories under the "done" directory.  They are like 2012/09/03/000000.  It only sets the permissions on the last one, ie 000000 to 770.    So the 2012/09/03 aren't explicitly set so if the umask is more restrictive, they won't be set as it expects.

--
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] [Commented] (MAPREDUCE-4633) history server doesn't set permissions on all subdirs

Posted by "Thomas Graves (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-4633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13448701#comment-13448701 ] 

Thomas Graves commented on MAPREDUCE-4633:
------------------------------------------

Vaidya uses the history files and this issue is blocking it being used.
                
> history server doesn't set permissions on all subdirs 
> ------------------------------------------------------
>
>                 Key: MAPREDUCE-4633
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4633
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 3.0.0, 2.2.0-alpha
>            Reporter: Thomas Graves
>            Assignee: Thomas Graves
>            Priority: Critical
>
> The job history server creates a bunch of subdirectories under the "done" directory.  They are like 2012/09/03/000000.  It only sets the permissions on the last one, ie 000000 to 770.    So the 2012/09/03 aren't explicitly set so if the umask is more restrictive, they won't be set as it expects.

--
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] [Assigned] (MAPREDUCE-4633) history server doesn't set permissions on all subdirs

Posted by "Thomas Graves (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-4633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Graves reassigned MAPREDUCE-4633:
----------------------------------------

    Assignee: Thomas Graves
    
> history server doesn't set permissions on all subdirs 
> ------------------------------------------------------
>
>                 Key: MAPREDUCE-4633
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4633
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 3.0.0, 2.2.0-alpha
>            Reporter: Thomas Graves
>            Assignee: Thomas Graves
>
> The job history server creates a bunch of subdirectories under the "done" directory.  They are like 2012/09/03/000000.  It only sets the permissions on the last one, ie 000000 to 770.    So the 2012/09/03 aren't explicitly set so if the umask is more restrictive, they won't be set as it expects.

--
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] [Commented] (MAPREDUCE-4633) history server doesn't set permissions on all subdirs

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

Hudson commented on MAPREDUCE-4633:
-----------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #2756 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2756/])
    MAPREDUCE-4633. history server doesn't set permissions on all subdirs (tgraves via bobby) (Revision 1381614)

     Result = SUCCESS
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1381614
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/main/java/org/apache/hadoop/mapreduce/v2/jobhistory/JobHistoryUtils.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/HistoryFileManager.java

                
> history server doesn't set permissions on all subdirs 
> ------------------------------------------------------
>
>                 Key: MAPREDUCE-4633
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4633
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 3.0.0, 2.2.0-alpha
>            Reporter: Thomas Graves
>            Assignee: Thomas Graves
>            Priority: Critical
>             Fix For: 0.23.3, 3.0.0, 2.2.0-alpha
>
>         Attachments: MAPREDUCE-4633.patch
>
>
> The job history server creates a bunch of subdirectories under the "done" directory.  They are like 2012/09/03/000000.  It only sets the permissions on the last one, ie 000000 to 770.    So the 2012/09/03 aren't explicitly set so if the umask is more restrictive, they won't be set as it expects.

--
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] [Commented] (MAPREDUCE-4633) history server doesn't set permissions on all subdirs

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

Hudson commented on MAPREDUCE-4633:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #2717 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2717/])
    MAPREDUCE-4633. history server doesn't set permissions on all subdirs (tgraves via bobby) (Revision 1381614)

     Result = FAILURE
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1381614
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/main/java/org/apache/hadoop/mapreduce/v2/jobhistory/JobHistoryUtils.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/HistoryFileManager.java

                
> history server doesn't set permissions on all subdirs 
> ------------------------------------------------------
>
>                 Key: MAPREDUCE-4633
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4633
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 3.0.0, 2.2.0-alpha
>            Reporter: Thomas Graves
>            Assignee: Thomas Graves
>            Priority: Critical
>             Fix For: 0.23.3, 3.0.0, 2.2.0-alpha
>
>         Attachments: MAPREDUCE-4633.patch
>
>
> The job history server creates a bunch of subdirectories under the "done" directory.  They are like 2012/09/03/000000.  It only sets the permissions on the last one, ie 000000 to 770.    So the 2012/09/03 aren't explicitly set so if the umask is more restrictive, they won't be set as it expects.

--
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] [Closed] (MAPREDUCE-4633) history server doesn't set permissions on all subdirs

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

Arun C Murthy closed MAPREDUCE-4633.
------------------------------------

    
> history server doesn't set permissions on all subdirs 
> ------------------------------------------------------
>
>                 Key: MAPREDUCE-4633
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4633
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 3.0.0, 2.0.2-alpha
>            Reporter: Thomas Graves
>            Assignee: Thomas Graves
>            Priority: Critical
>             Fix For: 0.23.3, 2.0.2-alpha
>
>         Attachments: MAPREDUCE-4633.patch
>
>
> The job history server creates a bunch of subdirectories under the "done" directory.  They are like 2012/09/03/000000.  It only sets the permissions on the last one, ie 000000 to 770.    So the 2012/09/03 aren't explicitly set so if the umask is more restrictive, they won't be set as it expects.

--
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] [Commented] (MAPREDUCE-4633) history server doesn't set permissions on all subdirs

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

Hudson commented on MAPREDUCE-4633:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk #1189 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1189/])
    MAPREDUCE-4633. history server doesn't set permissions on all subdirs (tgraves via bobby) (Revision 1381614)

     Result = SUCCESS
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1381614
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/main/java/org/apache/hadoop/mapreduce/v2/jobhistory/JobHistoryUtils.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/HistoryFileManager.java

                
> history server doesn't set permissions on all subdirs 
> ------------------------------------------------------
>
>                 Key: MAPREDUCE-4633
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4633
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 3.0.0, 2.2.0-alpha
>            Reporter: Thomas Graves
>            Assignee: Thomas Graves
>            Priority: Critical
>             Fix For: 0.23.3, 3.0.0, 2.2.0-alpha
>
>         Attachments: MAPREDUCE-4633.patch
>
>
> The job history server creates a bunch of subdirectories under the "done" directory.  They are like 2012/09/03/000000.  It only sets the permissions on the last one, ie 000000 to 770.    So the 2012/09/03 aren't explicitly set so if the umask is more restrictive, they won't be set as it expects.

--
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] (MAPREDUCE-4633) history server doesn't set permissions on all subdirs

Posted by "Thomas Graves (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-4633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Graves updated MAPREDUCE-4633:
-------------------------------------

    Target Version/s: 0.23.3, 3.0.0, 2.2.0-alpha  (was: 0.23.3, 2.2.0-alpha)
              Status: Patch Available  (was: Open)
    
> history server doesn't set permissions on all subdirs 
> ------------------------------------------------------
>
>                 Key: MAPREDUCE-4633
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4633
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 3.0.0, 2.2.0-alpha
>            Reporter: Thomas Graves
>            Assignee: Thomas Graves
>            Priority: Critical
>         Attachments: MAPREDUCE-4633.patch
>
>
> The job history server creates a bunch of subdirectories under the "done" directory.  They are like 2012/09/03/000000.  It only sets the permissions on the last one, ie 000000 to 770.    So the 2012/09/03 aren't explicitly set so if the umask is more restrictive, they won't be set as it expects.

--
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] (MAPREDUCE-4633) history server doesn't set permissions on all subdirs

Posted by "Thomas Graves (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-4633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Graves updated MAPREDUCE-4633:
-------------------------------------

    Attachment: MAPREDUCE-4633.patch

Preliminary patch that relies on HDFS-3890.  

                
> history server doesn't set permissions on all subdirs 
> ------------------------------------------------------
>
>                 Key: MAPREDUCE-4633
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4633
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 3.0.0, 2.2.0-alpha
>            Reporter: Thomas Graves
>            Assignee: Thomas Graves
>            Priority: Critical
>         Attachments: MAPREDUCE-4633.patch
>
>
> The job history server creates a bunch of subdirectories under the "done" directory.  They are like 2012/09/03/000000.  It only sets the permissions on the last one, ie 000000 to 770.    So the 2012/09/03 aren't explicitly set so if the umask is more restrictive, they won't be set as it expects.

--
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] [Commented] (MAPREDUCE-4633) history server doesn't set permissions on all subdirs

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

Hudson commented on MAPREDUCE-4633:
-----------------------------------

Integrated in Hadoop-Common-trunk-Commit #2693 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2693/])
    MAPREDUCE-4633. history server doesn't set permissions on all subdirs (tgraves via bobby) (Revision 1381614)

     Result = SUCCESS
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1381614
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/main/java/org/apache/hadoop/mapreduce/v2/jobhistory/JobHistoryUtils.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/HistoryFileManager.java

                
> history server doesn't set permissions on all subdirs 
> ------------------------------------------------------
>
>                 Key: MAPREDUCE-4633
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4633
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 3.0.0, 2.2.0-alpha
>            Reporter: Thomas Graves
>            Assignee: Thomas Graves
>            Priority: Critical
>             Fix For: 0.23.3, 3.0.0, 2.2.0-alpha
>
>         Attachments: MAPREDUCE-4633.patch
>
>
> The job history server creates a bunch of subdirectories under the "done" directory.  They are like 2012/09/03/000000.  It only sets the permissions on the last one, ie 000000 to 770.    So the 2012/09/03 aren't explicitly set so if the umask is more restrictive, they won't be set as it expects.

--
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] [Commented] (MAPREDUCE-4633) history server doesn't set permissions on all subdirs

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

Hudson commented on MAPREDUCE-4633:
-----------------------------------

Integrated in Hadoop-Hdfs-0.23-Build #367 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/367/])
    svn merge -c 1381614 FIXES: MAPREDUCE-4633. history server doesn't set permissions on all subdirs (tgraves via bobby) (Revision 1381619)

     Result = UNSTABLE
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1381619
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/main/java/org/apache/hadoop/mapreduce/v2/jobhistory/JobHistoryUtils.java
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/HistoryFileManager.java

                
> history server doesn't set permissions on all subdirs 
> ------------------------------------------------------
>
>                 Key: MAPREDUCE-4633
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4633
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 3.0.0, 2.2.0-alpha
>            Reporter: Thomas Graves
>            Assignee: Thomas Graves
>            Priority: Critical
>             Fix For: 0.23.3, 3.0.0, 2.2.0-alpha
>
>         Attachments: MAPREDUCE-4633.patch
>
>
> The job history server creates a bunch of subdirectories under the "done" directory.  They are like 2012/09/03/000000.  It only sets the permissions on the last one, ie 000000 to 770.    So the 2012/09/03 aren't explicitly set so if the umask is more restrictive, they won't be set as it expects.

--
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] (MAPREDUCE-4633) history server doesn't set permissions on all subdirs

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

Robert Joseph Evans updated MAPREDUCE-4633:
-------------------------------------------

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

Thanks Tom,

+1 I put this into trunk, branch-2, branch-0.23 and 0.23.3
                
> history server doesn't set permissions on all subdirs 
> ------------------------------------------------------
>
>                 Key: MAPREDUCE-4633
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4633
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 0.23.3, 3.0.0, 2.2.0-alpha
>            Reporter: Thomas Graves
>            Assignee: Thomas Graves
>            Priority: Critical
>             Fix For: 0.23.3, 3.0.0, 2.2.0-alpha
>
>         Attachments: MAPREDUCE-4633.patch
>
>
> The job history server creates a bunch of subdirectories under the "done" directory.  They are like 2012/09/03/000000.  It only sets the permissions on the last one, ie 000000 to 770.    So the 2012/09/03 aren't explicitly set so if the umask is more restrictive, they won't be set as it expects.

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