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 "Bilwa S T (JIRA)" <ji...@apache.org> on 2019/05/05 10:45:01 UTC

[jira] [Commented] (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=16833313#comment-16833313 ] 

Bilwa S T commented on YARN-9514:
---------------------------------

Thanks [~bibinchundatt] for reviewing
{quote}I dont this the fix is correct. ApplicationACLManager init will add current user to list of accessible users. 
{quote}
AdminACLsManager will add current user which is configured user for key "yarn.resourcemanager.principal" . So killApplication button is not shown if user doesn't have modify rights and is not an admin and if user is not principaluser according to fix.
{quote}Kill Button is applicable only for RMAppBlock so the handling could be done in RMAppBlock. Implementation could be similar to
createApplicationMetricsTable thoughts??
{quote}
I think handling it in RMAppBlock is correct.

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