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-5702) hadoop-config.sh blows away CLASSPATH env
Date Mon, 20 Apr 2009 21:40:47 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-5702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700953#action_12700953
] 

Doug Cutting commented on HADOOP-5702:
--------------------------------------

> I think it's more intuitive for users to be able to use the normal CLASSPATH env var.

It's also more error prone.  For example, I've seen application installers that set CLASSPATH
globally.

> hadoop-config.sh blows away CLASSPATH env
> -----------------------------------------
>
>                 Key: HADOOP-5702
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5702
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: HADOOP-5702.txt
>
>
> The bin/hadoop-config.sh script blows away the user's CLASSPATH environment variable
when setting up the hadoop-specific classpath. It's possible that this is intentional, but
it would make developing contrib service plugins (eg HADOOP-4707) easier if hadoop-config
appended rather than replaced CLASSPATH.
> Attaching trivial patch to change this behavior.

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


Mime
View raw message