hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Bieniosek (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-850) bin/hbase should check `which java` to find java
Date Tue, 02 Jun 2009 16:40:07 GMT

    [ https://issues.apache.org/jira/browse/HBASE-850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715577#action_12715577

Michael Bieniosek commented on HBASE-850:

> we need to be really careful here - on most Debian based distros, the standard /usr/bin/java
is a highly obsolete, non-sun JDK that is 150% inappropriate for running HBase. 

That sounds like a different problem.  I have machines where /usr/bin/java is the correct
Sun java to use.

> bin/hbase should check `which java` to find java
> ------------------------------------------------
>                 Key: HBASE-850
>                 URL: https://issues.apache.org/jira/browse/HBASE-850
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Michael Bieniosek
>            Priority: Minor
> Currently, the bin/hbase script tries to find java in JAVA_HOME/bin/java. If JAVA_HOME
isn't set, it errors out.
> Instead, I think it should check `which java 2>/dev/null` to see if there is a java
on the user's PATH. If a java is on the user's path, the script should just set JAVA=java.

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

View raw message