You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Chad Metcalf (JIRA)" <ji...@apache.org> on 2010/03/02 02:36:05 UTC

[jira] Created: (HADOOP-6604) Improve HADOOP_HOME detection and handling in hadoop-config

Improve HADOOP_HOME detection and handling in hadoop-config
-----------------------------------------------------------

                 Key: HADOOP-6604
                 URL: https://issues.apache.org/jira/browse/HADOOP-6604
             Project: Hadoop Common
          Issue Type: Improvement
    Affects Versions: 0.20.2
            Reporter: Chad Metcalf
            Assignee: Chad Metcalf
            Priority: Minor


If HADOOP_HOME is not set by the time hadoop-config is sourced we should try to guess it. Generally speaking hadoop-config.sh is in bin and HADOOP_HOME should generally be .. from there. Additionally we can do some verification of this guess by looking for jars in HADOOP_HOME.

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


[jira] Updated: (HADOOP-6604) Improve HADOOP_HOME detection and handling in hadoop-config

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

Chad Metcalf updated HADOOP-6604:
---------------------------------

    Attachment: HADOOP-6604.patch

Patch is only for 0.20.2 branch.

> Improve HADOOP_HOME detection and handling in hadoop-config
> -----------------------------------------------------------
>
>                 Key: HADOOP-6604
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6604
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 0.20.2
>            Reporter: Chad Metcalf
>            Assignee: Chad Metcalf
>            Priority: Minor
>         Attachments: HADOOP-6604.patch
>
>
> If HADOOP_HOME is not set by the time hadoop-config is sourced we should try to guess it. Generally speaking hadoop-config.sh is in bin and HADOOP_HOME should generally be .. from there. Additionally we can do some verification of this guess by looking for jars in HADOOP_HOME.

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


[jira] Commented: (HADOOP-6604) Improve HADOOP_HOME detection and handling in hadoop-config

Posted by "Allen Wittenauer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-6604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12839963#action_12839963 ] 

Allen Wittenauer commented on HADOOP-6604:
------------------------------------------

This patch breaks if any hadoop core jar is in .. rather than the one we care about. 


> Improve HADOOP_HOME detection and handling in hadoop-config
> -----------------------------------------------------------
>
>                 Key: HADOOP-6604
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6604
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 0.20.2
>            Reporter: Chad Metcalf
>            Assignee: Chad Metcalf
>            Priority: Minor
>         Attachments: HADOOP-6604.patch
>
>
> If HADOOP_HOME is not set by the time hadoop-config is sourced we should try to guess it. Generally speaking hadoop-config.sh is in bin and HADOOP_HOME should generally be .. from there. Additionally we can do some verification of this guess by looking for jars in HADOOP_HOME.

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