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 01:50:06 GMT

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

Allen Wittenauer commented on HADOOP-6605:

Why doesn't this try the java that is the path?   Why doesn't this verify that $JAVA_HOME/bin/java
actually works? Shouldn't it verify that it found JDK6 or better? Why is the error message
RH-based specific? Heck, why have the "please download" message at all?  

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

View raw message