[ 
https://issues.apache.org/jira/browse/HADOOP-1114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12487921
 ] 

Doug Cutting commented on HADOOP-1114:
--------------------------------------

> Currently our hadoop jars also depend on non-java code which can't be 
> distributed via jar.

Job jar files are unpacked in the directory where the job jvm is run, so 
non-java data and code in the jar file can be easily accessed via relative 
paths.

> we would just need to write a combine-jar tool

Ant has good tools for constructing jar files.

In any case, if you like to install all your software in a separate directory, 
and want parts of it to appear on the classpath of the Hadoop daemons, that's 
fine.  I just think our scripts should not rely on the overused CLASSPATH 
environment variable, but would be less fragile if they use HADOOP_CLASSPATH.


> bin/hadoop script clobbers CLASSPATH
> ------------------------------------
>
>                 Key: HADOOP-1114
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1114
>             Project: Hadoop
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.12.0
>            Reporter: Michael Bieniosek
>            Priority: Minor
>             Fix For: 0.13.0
>
>         Attachments: hadoop-no-clobber-classpath.patch
>
>
> The bin/hadoop script distributed with hadoop clobbers the user's CLASSPATH.  
> This prevents ad-hoc appending to the CLASSPATH.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to