You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Varun Vasudev (JIRA)" <ji...@apache.org> on 2016/05/10 14:06:13 UTC

[jira] [Comment Edited] (YARN-4577) Enable aux services to have their own custom classpath/jar file

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

Varun Vasudev edited comment on YARN-4577 at 5/10/16 2:05 PM:
--------------------------------------------------------------

[~xgong] - TestAuxServices#makeClassLoaderTestJar and TestRunJar#makeClassLoaderTestJar seem to be the same with minor differences - can you refactor the code to use the same underlying logic? And can you also add a comment explaining the test logic? Thanks!


was (Author: vvasudev):
[~xgong] - TestAuxServices#makeClassLoaderTestJar and TestRunJar#makeClassLoaderTestJar seem to be the same with minor differences - can you refactor the code to use the same underlying logic?

> Enable aux services to have their own custom classpath/jar file
> ---------------------------------------------------------------
>
>                 Key: YARN-4577
>                 URL: https://issues.apache.org/jira/browse/YARN-4577
>             Project: Hadoop YARN
>          Issue Type: Improvement
>    Affects Versions: 2.8.0
>            Reporter: Xuan Gong
>            Assignee: Xuan Gong
>         Attachments: YARN-4577.1.patch, YARN-4577.2.patch, YARN-4577.20160119.1.patch, YARN-4577.20160204.patch, YARN-4577.20160428.patch, YARN-4577.20160509.patch, YARN-4577.3.patch, YARN-4577.3.rebase.patch, YARN-4577.4.patch, YARN-4577.5.patch, YARN-4577.poc.patch
>
>
> Right now, users have to add their jars to the NM classpath directly, thus put them on the system classloader. But if multiple versions of the plugin are present on the classpath, there is no control over which version actually gets loaded. Or if there are any conflicts between the dependencies introduced by the auxiliary service and the NM itself, they can break the NM, the auxiliary service, or both.
> The solution could be: to instantiate aux services using a classloader that is different from the system classloader.



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