hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6771) Use classloader inside configuration class to make new classes
Date Thu, 21 Sep 2017 05:43:02 GMT

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

Hudson commented on YARN-6771:
------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #12931 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/12931/])
YARN-6771. Use classloader inside configuration class to make new (sjlee: rev 8b336632acad10e45d029596c5e3196e1857d891)
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/factories/impl/pb/RpcClientFactoryPBImpl.java
* (add) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/factories/impl/pb/TestRpcServerFactoryPBImpl.java
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/factories/impl/pb/RpcServerFactoryPBImpl.java
* (add) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/factories/impl/pb/TestRpcClientFactoryPBImpl.java


> Use classloader inside configuration class to make new classes 
> ---------------------------------------------------------------
>
>                 Key: YARN-6771
>                 URL: https://issues.apache.org/jira/browse/YARN-6771
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.8.1, 3.0.0-alpha4
>            Reporter: Jongyoul Lee
>         Attachments: YARN-6771-1.patch, YARN-6771-2.patch, YARN-6771-3.patch, YARN-6771-4.patch,
YARN-6771-5.patch, YARN-6771-6.patch, YARN-6771.patch
>
>
> While running {{RpcClientFactoryPBImpl.getClient}}, {{RpcClientFactoryPBImpl}} uses {{localConf.getClassByName}}.
But in case of using custom classloader, we have to use {{conf.getClassByName}} because custom
classloader is already stored in {{Configuration}} class.



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