You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Bibin A Chundatt (JIRA)" <ji...@apache.org> on 2019/05/08 04:39:00 UTC

[jira] [Comment Edited] (YARN-9514) RMAppBlock enable kill button only when user has rights

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

Bibin A Chundatt edited comment on YARN-9514 at 5/8/19 4:38 AM:
----------------------------------------------------------------

Thank you [~BilwaST] for patch.
 * RMAppBlock should also check user has queue Admin Rights
{code:java}
 queueACLsManager
        .checkAccess(callerUGI, QueueACL.ADMINISTER_QUEUE, application,
            Server.getRemoteAddress(), null)
{code}

 * Could you add test case for the change. Reference: *TestBlocks*


was (Author: bibinchundatt):
Thank you [~BilwaST] for patch.

* RMAppBlock also check user has queue Admin Rights
{code}
 queueACLsManager
        .checkAccess(callerUGI, QueueACL.ADMINISTER_QUEUE, application,
            Server.getRemoteAddress(), null)
{code}
* Could you add test case for the change. Reference: *TestBlocks*



> RMAppBlock enable kill button only when user has  rights
> --------------------------------------------------------
>
>                 Key: YARN-9514
>                 URL: https://issues.apache.org/jira/browse/YARN-9514
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Bibin A Chundatt
>            Assignee: Bilwa S T
>            Priority: Minor
>         Attachments: YARN-9514-001.patch, YARN-9514-002.patch
>
>
> Listing of application are based on the following
>  * admin.acl
>  * Application acl (view & modify)
> For user's who doesnt have modify/admin rights, kill button for application is not required to be shown. Unauthorized error is returned when invoked.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org