hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6605) Improve JAVA_HOME detection and handling in hadoop-config
Date Tue, 02 Mar 2010 02:02:05 GMT

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

Allen Wittenauer commented on HADOOP-6605:
------------------------------------------

Also, rather than make this Linux specific, adding /usr/jdk/instances/(version) to the detection
and you'll get Solaris support.  I also notice that the patch already has Mac OS X.

It also just occurred to me that in the past there has been a very big reluctance to put OS
specific fixes/changes in place.  I'm not sure if the community will take such a change here.

> Improve JAVA_HOME detection and handling in hadoop-config
> ---------------------------------------------------------
>
>                 Key: HADOOP-6605
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6605
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 0.20.2
>            Reporter: Chad Metcalf
>            Assignee: Chad Metcalf
>         Attachments: HADOOP-6605.patch
>
>
> JAVA_HOME can be set in hadoop-env.sh and hadoop-config.sh should respect this. hadoop-config
will source hadoop-env after it determines a config directory. If JAVA_HOME still isn't set,
it will try to guess one from a list of Linux usual locations. If one still isn't set it will
quit with a verbose error message.

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