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 "John George (Created) (JIRA)" <ji...@apache.org> on 2012/02/24 17:30:49 UTC

[jira] [Created] (MAPREDUCE-3910) puser not allowed to submit jobs even though queue -showacls shows it allows

puser not allowed to submit jobs even though queue -showacls shows it allows
----------------------------------------------------------------------------

                 Key: MAPREDUCE-3910
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3910
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: mrv2
    Affects Versions: 0.23.1, 0.23.2
            Reporter: John George
            Assignee: John George
            Priority: Blocker


User is not allowed to submit applications to a queue even though the queue is configured correctly and mapred queue -showacls shows that the user is allowed to submit

--
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] (MAPREDUCE-3910) user not allowed to submit jobs even though queue -showacls shows it allows

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

Hudson commented on MAPREDUCE-3910:
-----------------------------------

Integrated in Hadoop-Common-trunk-Commit #1782 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1782/])
    MAPREDUCE-3910. Fixed a bug in CapacityScheduler LeafQueue which was causing app-submission to fail. Contributed by John George. (Revision 1293750)

     Result = SUCCESS
vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1293750
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/LeafQueue.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/TestLeafQueue.java

                
> user not allowed to submit jobs even though queue -showacls shows it allows
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3910
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3910
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.1, 0.23.2
>            Reporter: John George
>            Assignee: John George
>            Priority: Blocker
>             Fix For: 0.23.2
>
>         Attachments: MR-3910.patch
>
>
> User is not allowed to submit applications to a queue even though the queue is configured correctly and mapred queue -showacls shows that the user is allowed to submit

--
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] (MAPREDUCE-3910) user not allowed to submit jobs even though queue -showacls shows it allows

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

Hadoop QA commented on MAPREDUCE-3910:
--------------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12515997/MR-3910.patch
  against trunk revision .

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

    +1 tests included.  The patch appears to include 3 new or modified tests.

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

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

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

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

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

This message is automatically generated.
                
> user not allowed to submit jobs even though queue -showacls shows it allows
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3910
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3910
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.1, 0.23.2
>            Reporter: John George
>            Assignee: John George
>            Priority: Blocker
>         Attachments: MR-3910.patch
>
>
> User is not allowed to submit applications to a queue even though the queue is configured correctly and mapred queue -showacls shows that the user is allowed to submit

--
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] (MAPREDUCE-3910) user not allowed to submit jobs even though queue -showacls shows it allows

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

Hudson commented on MAPREDUCE-3910:
-----------------------------------

Integrated in Hadoop-Mapreduce-0.23-Build #208 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/208/])
    MAPREDUCE-3910. Fixed a bug in CapacityScheduler LeafQueue which was causing app-submission to fail. Contributed by John George.
svn merge --ignore-ancestry -c 1293750 ../../trunk (Revision 1293753)

     Result = FAILURE
vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1293753
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/LeafQueue.java
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/TestLeafQueue.java

                
> user not allowed to submit jobs even though queue -showacls shows it allows
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3910
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3910
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.1, 0.23.2
>            Reporter: John George
>            Assignee: John George
>            Priority: Blocker
>             Fix For: 0.23.2
>
>         Attachments: MR-3910.patch
>
>
> User is not allowed to submit applications to a queue even though the queue is configured correctly and mapred queue -showacls shows that the user is allowed to submit

--
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] (MAPREDUCE-3910) user not allowed to submit jobs even though queue -showacls shows it allows

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

Hudson commented on MAPREDUCE-3910:
-----------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #1856 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1856/])
    MAPREDUCE-3910. Fixed a bug in CapacityScheduler LeafQueue which was causing app-submission to fail. Contributed by John George. (Revision 1293750)

     Result = SUCCESS
vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1293750
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/LeafQueue.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/TestLeafQueue.java

                
> user not allowed to submit jobs even though queue -showacls shows it allows
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3910
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3910
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.1, 0.23.2
>            Reporter: John George
>            Assignee: John George
>            Priority: Blocker
>             Fix For: 0.23.2
>
>         Attachments: MR-3910.patch
>
>
> User is not allowed to submit applications to a queue even though the queue is configured correctly and mapred queue -showacls shows that the user is allowed to submit

--
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] (MAPREDUCE-3910) user not allowed to submit jobs even though queue -showacls shows it allows

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

Vinod Kumar Vavilapalli updated MAPREDUCE-3910:
-----------------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.23.2
     Release Note: Fixed a bug in CapacityScheduler LeafQueue which was causing app-submission to fail.
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

Just committed this to trunk, branch-0.23 and branch-0.23.2. Thanks John!
                
> user not allowed to submit jobs even though queue -showacls shows it allows
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3910
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3910
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.1, 0.23.2
>            Reporter: John George
>            Assignee: John George
>            Priority: Blocker
>             Fix For: 0.23.2
>
>         Attachments: MR-3910.patch
>
>
> User is not allowed to submit applications to a queue even though the queue is configured correctly and mapred queue -showacls shows that the user is allowed to submit

--
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] (MAPREDUCE-3910) user not allowed to submit jobs even though queue -showacls shows it allows

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

John George updated MAPREDUCE-3910:
-----------------------------------

    Status: Patch Available  (was: Open)
    
> user not allowed to submit jobs even though queue -showacls shows it allows
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3910
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3910
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.1, 0.23.2
>            Reporter: John George
>            Assignee: John George
>            Priority: Blocker
>         Attachments: MR-3910.patch
>
>
> User is not allowed to submit applications to a queue even though the queue is configured correctly and mapred queue -showacls shows that the user is allowed to submit

--
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] (MAPREDUCE-3910) user not allowed to submit jobs even though queue -showacls shows it allows

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

Hudson commented on MAPREDUCE-3910:
-----------------------------------

Integrated in Hadoop-Common-0.23-Commit #597 (See [https://builds.apache.org/job/Hadoop-Common-0.23-Commit/597/])
    MAPREDUCE-3910. Fixed a bug in CapacityScheduler LeafQueue which was causing app-submission to fail. Contributed by John George.
svn merge --ignore-ancestry -c 1293750 ../../trunk (Revision 1293753)

     Result = SUCCESS
vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1293753
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/LeafQueue.java
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/TestLeafQueue.java

                
> user not allowed to submit jobs even though queue -showacls shows it allows
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3910
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3910
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.1, 0.23.2
>            Reporter: John George
>            Assignee: John George
>            Priority: Blocker
>             Fix For: 0.23.2
>
>         Attachments: MR-3910.patch
>
>
> User is not allowed to submit applications to a queue even though the queue is configured correctly and mapred queue -showacls shows that the user is allowed to submit

--
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] (MAPREDUCE-3910) user not allowed to submit jobs even though queue -showacls shows it allows

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

Vinod Kumar Vavilapalli commented on MAPREDUCE-3910:
----------------------------------------------------

Yes, your explanation is correct. I believe this happened after I moved the scheduler events to a separate dispatcher as part of the RM refactor. Because of that, the app-submission also moved to a separate thread and so the UGI context is lost.

Patch looks good too. +1. Pushing this in.
                
> user not allowed to submit jobs even though queue -showacls shows it allows
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3910
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3910
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.1, 0.23.2
>            Reporter: John George
>            Assignee: John George
>            Priority: Blocker
>         Attachments: MR-3910.patch
>
>
> User is not allowed to submit applications to a queue even though the queue is configured correctly and mapred queue -showacls shows that the user is allowed to submit

--
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] (MAPREDUCE-3910) user not allowed to submit jobs even though queue -showacls shows it allows

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

Hudson commented on MAPREDUCE-3910:
-----------------------------------

Integrated in Hadoop-Hdfs-0.23-Commit #585 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/585/])
    MAPREDUCE-3910. Fixed a bug in CapacityScheduler LeafQueue which was causing app-submission to fail. Contributed by John George.
svn merge --ignore-ancestry -c 1293750 ../../trunk (Revision 1293753)

     Result = SUCCESS
vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1293753
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/LeafQueue.java
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/TestLeafQueue.java

                
> user not allowed to submit jobs even though queue -showacls shows it allows
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3910
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3910
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.1, 0.23.2
>            Reporter: John George
>            Assignee: John George
>            Priority: Blocker
>             Fix For: 0.23.2
>
>         Attachments: MR-3910.patch
>
>
> User is not allowed to submit applications to a queue even though the queue is configured correctly and mapred queue -showacls shows that the user is allowed to submit

--
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] (MAPREDUCE-3910) user not allowed to submit jobs even though queue -showacls shows it allows

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

John George commented on MAPREDUCE-3910:
----------------------------------------

The reason that the exception happens is because in LeafQueue.java, it checks for queue access by obtaining the UGI of current user, but since the current user has no context, it gets the logged in user who does not have permissions to access the queue. 
So my thinking is that either we should check acls against the passed in userName or set the context so that when getCurrentUser() is called, it returns the right user.

{code}
 @Override
  public void submitApplication(SchedulerApp application, String userName,
      String queue)  throws AccessControlException {
    // Careful! Locking order is important!

    // Check queue ACLs
    UserGroupInformation userUgi;
    try {
      userUgi = UserGroupInformation.getCurrentUser();
    } catch (IOException ioe) {
      throw new AccessControlException(ioe);
    }
    if (!hasAccess(QueueACL.SUBMIT_APPLICATIONS, userUgi)) {
      throw new AccessControlException("userName + " cannot submit" +
          " applications to queue " + getQueuePath());
    }

{code}
                
> user not allowed to submit jobs even though queue -showacls shows it allows
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3910
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3910
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.1, 0.23.2
>            Reporter: John George
>            Assignee: John George
>            Priority: Blocker
>
> User is not allowed to submit applications to a queue even though the queue is configured correctly and mapred queue -showacls shows that the user is allowed to submit

--
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] (MAPREDUCE-3910) user not allowed to submit jobs even though queue -showacls shows it allows

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

Hudson commented on MAPREDUCE-3910:
-----------------------------------

Integrated in Hadoop-Hdfs-trunk #967 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/967/])
    MAPREDUCE-3910. Fixed a bug in CapacityScheduler LeafQueue which was causing app-submission to fail. Contributed by John George. (Revision 1293750)

     Result = SUCCESS
vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1293750
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/LeafQueue.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/TestLeafQueue.java

                
> user not allowed to submit jobs even though queue -showacls shows it allows
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3910
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3910
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.1, 0.23.2
>            Reporter: John George
>            Assignee: John George
>            Priority: Blocker
>             Fix For: 0.23.2
>
>         Attachments: MR-3910.patch
>
>
> User is not allowed to submit applications to a queue even though the queue is configured correctly and mapred queue -showacls shows that the user is allowed to submit

--
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] (MAPREDUCE-3910) puser not allowed to submit jobs even though queue -showacls shows it allows

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

John George commented on MAPREDUCE-3910:
----------------------------------------

The queue acls is as follows:
{code}
ueue  Operations
=====================
root  ADMINISTER_QUEUE
a  
a1  ADMINISTER_QUEUE,SUBMIT_APPLICATIONS
a2  ADMINISTER_QUEUE
b  ADMINISTER_QUEUE,SUBMIT_APPLICATIONS
c  
c1  ADMINISTER_QUEUE
c2  ADMINISTER_QUEUE
d  ADMINISTER_QUEUE,SUBMIT_APPLICATIONS
{code}

When I try to submit a job, (for example: to queue d), I get the following exception
{code}
java.io.IOException: Failed to run job : org.apache.hadoop.security.AccessControlException: hadoopqa cannot submit applications to queue root.d
        at org.apache.hadoop.mapred.YARNRunner.submitJob(YARNRunner.java:303)
        at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:385)
        at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1221)
        at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1218)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:396)
        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1179)
        at org.apache.hadoop.mapreduce.Job.submit(Job.java:1218)
        at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1239)
        at org.apache.hadoop.mapreduce.SleepJob.run(SleepJob.java:262)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:69)
        at org.apache.hadoop.mapreduce.SleepJob.main(SleepJob.java:194)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:72)
        at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:144)
        at org.apache.hadoop.test.MapredTestDriver.run(MapredTestDriver.java:112)
        at org.apache.hadoop.test.MapredTestDriver.main(MapredTestDriver.java:120)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:200)
{code}
                
> puser not allowed to submit jobs even though queue -showacls shows it allows
> ----------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3910
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3910
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.1, 0.23.2
>            Reporter: John George
>            Assignee: John George
>            Priority: Blocker
>
> User is not allowed to submit applications to a queue even though the queue is configured correctly and mapred queue -showacls shows that the user is allowed to submit

--
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] (MAPREDUCE-3910) user not allowed to submit jobs even though queue -showacls shows it allows

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

Hudson commented on MAPREDUCE-3910:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #1793 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1793/])
    MAPREDUCE-3910. Fixed a bug in CapacityScheduler LeafQueue which was causing app-submission to fail. Contributed by John George. (Revision 1293750)

     Result = ABORTED
vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1293750
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/LeafQueue.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/TestLeafQueue.java

                
> user not allowed to submit jobs even though queue -showacls shows it allows
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3910
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3910
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.1, 0.23.2
>            Reporter: John George
>            Assignee: John George
>            Priority: Blocker
>             Fix For: 0.23.2
>
>         Attachments: MR-3910.patch
>
>
> User is not allowed to submit applications to a queue even though the queue is configured correctly and mapred queue -showacls shows that the user is allowed to submit

--
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] (MAPREDUCE-3910) user not allowed to submit jobs even though queue -showacls shows it allows

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

John George updated MAPREDUCE-3910:
-----------------------------------

    Attachment: MR-3910.patch
    
> user not allowed to submit jobs even though queue -showacls shows it allows
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3910
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3910
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.1, 0.23.2
>            Reporter: John George
>            Assignee: John George
>            Priority: Blocker
>         Attachments: MR-3910.patch
>
>
> User is not allowed to submit applications to a queue even though the queue is configured correctly and mapred queue -showacls shows that the user is allowed to submit

--
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] (MAPREDUCE-3910) user not allowed to submit jobs even though queue -showacls shows it allows

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

John George updated MAPREDUCE-3910:
-----------------------------------

    Summary: user not allowed to submit jobs even though queue -showacls shows it allows  (was: puser not allowed to submit jobs even though queue -showacls shows it allows)
    
> user not allowed to submit jobs even though queue -showacls shows it allows
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3910
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3910
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.1, 0.23.2
>            Reporter: John George
>            Assignee: John George
>            Priority: Blocker
>
> User is not allowed to submit applications to a queue even though the queue is configured correctly and mapred queue -showacls shows that the user is allowed to submit

--
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] (MAPREDUCE-3910) user not allowed to submit jobs even though queue -showacls shows it allows

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

Hudson commented on MAPREDUCE-3910:
-----------------------------------

Integrated in Hadoop-Mapreduce-0.23-Commit #598 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/598/])
    MAPREDUCE-3910. Fixed a bug in CapacityScheduler LeafQueue which was causing app-submission to fail. Contributed by John George.
svn merge --ignore-ancestry -c 1293750 ../../trunk (Revision 1293753)

     Result = ABORTED
vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1293753
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/LeafQueue.java
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/TestLeafQueue.java

                
> user not allowed to submit jobs even though queue -showacls shows it allows
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3910
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3910
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.1, 0.23.2
>            Reporter: John George
>            Assignee: John George
>            Priority: Blocker
>             Fix For: 0.23.2
>
>         Attachments: MR-3910.patch
>
>
> User is not allowed to submit applications to a queue even though the queue is configured correctly and mapred queue -showacls shows that the user is allowed to submit

--
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] (MAPREDUCE-3910) user not allowed to submit jobs even though queue -showacls shows it allows

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

Hudson commented on MAPREDUCE-3910:
-----------------------------------

Integrated in Hadoop-Hdfs-0.23-Build #180 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/180/])
    MAPREDUCE-3910. Fixed a bug in CapacityScheduler LeafQueue which was causing app-submission to fail. Contributed by John George.
svn merge --ignore-ancestry -c 1293750 ../../trunk (Revision 1293753)

     Result = SUCCESS
vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1293753
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/LeafQueue.java
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/TestLeafQueue.java

                
> user not allowed to submit jobs even though queue -showacls shows it allows
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3910
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3910
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.1, 0.23.2
>            Reporter: John George
>            Assignee: John George
>            Priority: Blocker
>             Fix For: 0.23.2
>
>         Attachments: MR-3910.patch
>
>
> User is not allowed to submit applications to a queue even though the queue is configured correctly and mapred queue -showacls shows that the user is allowed to submit

--
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] (MAPREDUCE-3910) user not allowed to submit jobs even though queue -showacls shows it allows

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

Hudson commented on MAPREDUCE-3910:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk #1002 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1002/])
    MAPREDUCE-3910. Fixed a bug in CapacityScheduler LeafQueue which was causing app-submission to fail. Contributed by John George. (Revision 1293750)

     Result = SUCCESS
vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1293750
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/LeafQueue.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/TestLeafQueue.java

                
> user not allowed to submit jobs even though queue -showacls shows it allows
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3910
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3910
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.1, 0.23.2
>            Reporter: John George
>            Assignee: John George
>            Priority: Blocker
>             Fix For: 0.23.2
>
>         Attachments: MR-3910.patch
>
>
> User is not allowed to submit applications to a queue even though the queue is configured correctly and mapred queue -showacls shows that the user is allowed to submit

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