hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jian He (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Deleted] (YARN-5294) Pass remote ip address down to YarnAuthorizationProvider
Date Wed, 06 Jul 2016 17:19:11 GMT

     [ 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message