hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Templeton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-4997) Update fair scheduler to use pluggable auth provider
Date Tue, 09 Aug 2016 17:46:20 GMT

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

Daniel Templeton commented on YARN-4997:

Thanks for the patch, [~Tao Jie].  Overall looks good to me.  A couple of minor comments:

        LOG.info(authorizer.getClass().getName() + " is destoryed.");

Probably best to make the log message at DEBUG level and only do the string concat if debug
is on.

        if (queueInfo == null) {

Since that's in a small method, can we please use an _else_ instead of returning from the

      AccessControlList operationAcl = acls.get(

Tiny quibble...  Can we split the line on the equals instead of on the paren?

        .setPermission(permissions, UserGroupInformation.getCurrentUser());

Similarly, can we break on the comma here instead of the dot?

Finally, for the public and protected methods you added, please add javadocs.

> Update fair scheduler to use pluggable auth provider
> ----------------------------------------------------
>                 Key: YARN-4997
>                 URL: https://issues.apache.org/jira/browse/YARN-4997
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: fairscheduler
>    Affects Versions: 2.8.0
>            Reporter: Daniel Templeton
>            Assignee: Tao Jie
>         Attachments: YARN-4997-001.patch, YARN-4997-002.patch
> Now that YARN-3100 has made the authorization pluggable, it should be supported by the
fair scheduler.  YARN-3100 only updated the capacity scheduler.

This message was sent by Atlassian JIRA

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

View raw message