[jira] [Updated] (HADOOP-13776) remove redundant classpath entries in RunJar

2016-10-31 Thread Sangjin Lee (JIRA)

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

Sangjin Lee updated HADOOP-13776:
-
Status: Patch Available  (was: Open)

> remove redundant classpath entries in RunJar
> 
>
> Key: HADOOP-13776
> URL: https://issues.apache.org/jira/browse/HADOOP-13776
> Project: Hadoop Common
>  Issue Type: Bug
>  Components: util
>Reporter: Sangjin Lee
>Assignee: Sangjin Lee
> Attachments: HADOOP-13776.01.patch
>
>
> Today when you run a "hadoop jar" command, the content of the jar gets added 
> to the classpath twice, once in the jar form, and again in an unpacked form.
> We should include the content of the jar to the classpath only once. We 
> should keep the jar in the classpath (to support {{setJarByClass}} and other 
> useful use cases) but remove the root of the unpacked directory.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-13776) remove redundant classpath entries in RunJar

2016-10-31 Thread Sangjin Lee (JIRA)

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

Sangjin Lee updated HADOOP-13776:
-
Attachment: HADOOP-13776.01.patch

> remove redundant classpath entries in RunJar
> 
>
> Key: HADOOP-13776
> URL: https://issues.apache.org/jira/browse/HADOOP-13776
> Project: Hadoop Common
>  Issue Type: Bug
>  Components: util
>Reporter: Sangjin Lee
>Assignee: Sangjin Lee
> Attachments: HADOOP-13776.01.patch
>
>
> Today when you run a "hadoop jar" command, the content of the jar gets added 
> to the classpath twice, once in the jar form, and again in an unpacked form.
> We should include the content of the jar to the classpath only once. We 
> should keep the jar in the classpath (to support {{setJarByClass}} and other 
> useful use cases) but remove the root of the unpacked directory.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org