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 Tue, 21 Jun 2011 17:59:47 GMT

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


View raw message