[ 
https://issues.apache.org/jira/browse/HADOOP-4042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eli Collins resolved HADOOP-4042.
---------------------------------

    Resolution: Won't Fix

Per other jira we only check JAVA_HOME (and java_home on osx)

> bin/hadoop should check `which java` to find java
> -------------------------------------------------
>
>                 Key: HADOOP-4042
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4042
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.18.0
>            Reporter: Michael Bieniosek
>            Priority: Minor
>
> Currently, the bin/hadoop script tries to find java in JAVA_HOME/bin/java.  
> If JAVA_HOME is not 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to