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 (Commented) (JIRA)" <ji...@apache.org> on 2012/02/27 23:05:48 UTC

[jira] [Commented] (MAPREDUCE-3929) output of mapred -showacl is not clear

    [ https://issues.apache.org/jira/browse/MAPREDUCE-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13217622#comment-13217622 ] 

John George commented on MAPREDUCE-3929:
----------------------------------------

The following are the inconsistencies or confusing output that I see. 

1. If the parent queue specifically defines a value in capacity-scheduler.xml, it shows up in its permitted operation and any of the children derived from it. If a parent queue derives this value (from its forefathers) this value will not be shown.
2. root even though is a parent queue, will show the operation it is allowed even if it is by omission, but none of the other parent queues show that.

Here is the output of a mapred -showacl command:
Queue  Operations
=====================
root  ADMINISTER_QUEUE,SUBMIT_APPLICATIONS
a  SUBMIT_APPLICATIONS
a1  ADMINISTER_QUEUE,SUBMIT_APPLICATIONS
a2  ADMINISTER_QUEUE,SUBMIT_APPLICATIONS
b  ADMINISTER_QUEUE,SUBMIT_APPLICATIONS
c  
c1  ADMINISTER_QUEUE,SUBMIT_APPLICATIONS
c2  ADMINISTER_QUEUE,SUBMIT_APPLICATIONS
d  ADMINISTER_QUEUE,SUBMIT_APPLICATIONS

Here, the root queue shows that it is allowed both AQ, and SA operations, but parent queue 'a' and 'c' do not list AQ. The reason parent queue 'a' lists SA is because it was specifically mentioned in the config. 

To me, it seems like either the parent queues should show all the operations it's child queues are allowed or not show anything. Making it such that the operations specifically listed in config will only be shown while the other operations (even though are allowed) wont be shown is confusing to the users.

                
> output of mapred -showacl is not clear
> --------------------------------------
>
>                 Key: MAPREDUCE-3929
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3929
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.24.0, 0.23.2, 0.23.3
>            Reporter: John George
>            Assignee: John George
>
> output of 'mapred queue -showacls' is not very clear. This JIRA is aimed at either fixing that or adding something to the document to make it clear.

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