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 "Li Lu (JIRA)" <ji...@apache.org> on 2016/07/06 17:44:11 UTC

[jira] [Updated] (YARN-5233) Support for specifying a path for ATS plugin jars

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

Li Lu updated YARN-5233:
------------------------
    Attachment: YARN-5233-trunk.003.patch

Thanks [~jianhe] for the review! I've fixed the exception handling logic. For the classloader logic, the customized classloader can still load classes in other classpaths, since Java will fall back to other parent classloaders when the customized classloader cannot find the class. As discussed in Java's documentation for ClassLoader:

bq. The ClassLoader class uses a delegation model to search for classes and resources. Each instance of ClassLoader has an associated parent class loader. When requested to find a class or resource, a ClassLoader instance will delegate the search for the class or resource to its parent class loader before attempting to find the class or resource itself. The virtual machine's built-in class loader, called the "bootstrap class loader", does not itself have a parent but may serve as the parent of a ClassLoader instance.

> Support for specifying a path for ATS plugin jars
> -------------------------------------------------
>
>                 Key: YARN-5233
>                 URL: https://issues.apache.org/jira/browse/YARN-5233
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>    Affects Versions: 2.8.0
>            Reporter: Li Lu
>            Assignee: Li Lu
>         Attachments: YARN-5233-trunk.001.patch, YARN-5233-trunk.002.patch, YARN-5233-trunk.003.patch
>
>
> Third-party plugins need to add their jars to ATS. Most of the times, isolation is not needed. However, there needs to be a way to specify the path. For now, the jars on that path can be added to default 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