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 "Joep Rottinghuis (JIRA)" <ji...@apache.org> on 2011/06/21 19:59:47 UTC
[jira] [Commented] (MAPREDUCE-2610) Inconsistent API
JobClient.getQueueAclsForCurrentUser
[ https://issues.apache.org/jira/browse/MAPREDUCE-2610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13052718#comment-13052718 ]
Joep Rottinghuis commented on MAPREDUCE-2610:
---------------------------------------------
Note that this class is deprecated on trunk (see MAPREDUCE-777), but its replacement in the o.a.h.mapreduce package does have public access to get to the queue and operations.
> 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
>
> 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