hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joep Rottinghuis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-2610) Inconsistent API JobClient.getQueueAclsForCurrentUser
Date Thu, 01 Sep 2011 20:14:10 GMT

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

Joep Rottinghuis commented on MAPREDUCE-2610:
---------------------------------------------

No this is not a problem on trunk.
org/apache/hadoop/mapred/QueueAclsInfo.java
is deprecated and the new
org/apache/hadoop/mapreduce/QueueAclsInfo.java
does not suffer from the same problems.

As you know both can be found in hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/


> Inconsistent API JobClient.getQueueAclsForCurrentUser
> -----------------------------------------------------
>
>                 Key: MAPREDUCE-2610
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2610
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.20.205.0
>            Reporter: Joep Rottinghuis
>            Assignee: Joep Rottinghuis
>         Attachments: MAPREDUCE-2610.patch
>
>
> Client needs access to the current user's queue name.
> Public method JobClient.getQueueAclsForCurrentUser() returns QueueAclsInfo[].
> The QueueAclsInfo class has default access. A public method should not return a package-private
class.
> The QueueAclsInfo class, its two constructors, getQueueName, and getOperations methods
should be public.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message