[ 
https://issues.apache.org/jira/browse/YARN-5294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jian He updated YARN-5294:
--------------------------
    Comment: was deleted

(was: minor comment:
this logic could be simplified to throw exception directly. 
{code}
      } catch (Exception e) {
        LOG.warn("Error loading plugin " + name, e);
        caught = e;
      }

      if (cacheIdPlugin == null) {
        throw new RuntimeException("No class defined for " + name, caught);
      }
{code}
One question is that the customClassLoader should be able to load regular 
plugin class too ?)

> Pass remote ip address down to YarnAuthorizationProvider
> --------------------------------------------------------
>
>                 Key: YARN-5294
>                 URL: https://issues.apache.org/jira/browse/YARN-5294
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Jian He
>            Assignee: Jian He
>         Attachments: YARN-5294.1.patch, YARN-5294.2.patch, YARN-5294.3.patch, 
> YARN-5294.4.patch, YARN-5294.5.patch, YARN-5294.6.patch
>
>
> Pass down the remote ip address down to authorizer. Underlying authorizer 
> implementation can make use of this information for its own authorization 
> rule.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to