You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Sangjin Lee (JIRA)" <ji...@apache.org> on 2016/11/23 01:06:58 UTC
[jira] [Commented] (HADOOP-13398) prevent user classes from loading
classes in the parent classpath with ApplicationClassLoader
[ https://issues.apache.org/jira/browse/HADOOP-13398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15688487#comment-15688487 ]
Sangjin Lee commented on HADOOP-13398:
--------------------------------------
I would greatly appreciate reviews. You can test this per [comment|https://issues.apache.org/jira/browse/HADOOP-13070?focusedCommentId=15330886&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15330886] on HADOOP-13070.
> prevent user classes from loading classes in the parent classpath with ApplicationClassLoader
> ---------------------------------------------------------------------------------------------
>
> Key: HADOOP-13398
> URL: https://issues.apache.org/jira/browse/HADOOP-13398
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: util
> Reporter: Sangjin Lee
> Assignee: Sangjin Lee
> Priority: Critical
> Attachments: HADOOP-13398-HADOOP-13070.01.patch
>
>
> Today, a user class is able to trigger loading a class from Hadoop's dependencies, with or without the use of {{ApplicationClassLoader}}, and it creates an implicit dependence from users' code on Hadoop's dependencies, and as a result dependency conflicts.
> We should modify {{ApplicationClassLoader}} to prevent a user class from loading a class from the parent classpath.
> This should also cover resource loading (and as a corollary {{ServiceLoader}}).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org