You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2009/04/18 00:02:14 UTC

[jira] Created: (HADOOP-5702) hadoop-config.sh blows away CLASSPATH env

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


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.


[jira] Commented: (HADOOP-5702) hadoop-config.sh blows away CLASSPATH env

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-5702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700946#action_12700946 ] 

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

The scripts support HADOOP_CLASSPATH for user-specified additions.  Is that sufficient?

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


[jira] Commented: (HADOOP-5702) hadoop-config.sh blows away CLASSPATH env

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-5702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700949#action_12700949 ] 

Todd Lipcon commented on HADOOP-5702:
-------------------------------------

Actually didn't notice that - that's sufficient for the developer case, though I think it's more intuitive for users to be able to use the normal CLASSPATH env var.

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


[jira] Updated: (HADOOP-5702) hadoop-config.sh blows away CLASSPATH env

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-5702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon updated HADOOP-5702:
--------------------------------

    Resolution: Won't Fix
        Status: Resolved  (was: Patch Available)

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


[jira] Updated: (HADOOP-5702) hadoop-config.sh blows away CLASSPATH env

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-5702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon updated HADOOP-5702:
--------------------------------

    Status: Patch Available  (was: Open)

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


[jira] Updated: (HADOOP-5702) hadoop-config.sh blows away CLASSPATH env

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-5702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon updated HADOOP-5702:
--------------------------------

    Attachment: HADOOP-5702.txt

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


[jira] Commented: (HADOOP-5702) hadoop-config.sh blows away CLASSPATH env

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-5702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700959#action_12700959 ] 

Todd Lipcon commented on HADOOP-5702:
-------------------------------------

Fair enough - I don't feel very strongly about this, so I'll close the JIRA.

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


[jira] Commented: (HADOOP-5702) hadoop-config.sh blows away CLASSPATH env

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
    [ 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.