hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-1114) bin/hadoop script clobbers CLASSPATH
Date Tue, 10 Apr 2007 21:09:32 GMT

    [ 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

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

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

View raw message