hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bibin A Chundatt (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7157) Support displaying per-user's apps in RM UI page and in secure cluster
Date Wed, 13 Sep 2017 12:01:01 GMT

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

Bibin A Chundatt commented on YARN-7157:
----------------------------------------

[~sunilg]
Looks like i didnt explain clearly.

{code}
      // checkAccess can grab the scheduler lock so call it last
      boolean allowAccess = checkAccess(callerUGI, application.getUser(),
          ApplicationAccessType.VIEW_APP, application);
      if (scope == ApplicationsRequestScope.VIEWABLE && !allowAccess) {
        continue;
      }

      // Given RM is configured to display apps per user, skip apps to which
      // this caller doesn't have access to view.
      if (displayPerUserApps && !allowAccess) {
        continue;
      }
{code}
Move this part of code higher in loop so that for normal WEBUI access could avoid lots of
checks when {{displayPerUserApps}} is enabled. 

> Support displaying per-user's apps in RM UI page and in secure cluster
> ----------------------------------------------------------------------
>
>                 Key: YARN-7157
>                 URL: https://issues.apache.org/jira/browse/YARN-7157
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: webapp
>            Reporter: Sunil G
>            Assignee: Sunil G
>         Attachments: YARN-7157.001.patch, YARN-7157.002.patch, YARN-7157.003.patch, YARN-7157.004.patch,
YARN-7157.005.patch
>
>
> A user who is accessing a secure cluster via a secure UI should be able to see only his/her
own apps.
> This feature will not break any compatibility as it will turned off by default



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message