hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8797) automatically detect JAVA_HOME on Linux, report native lib path similar to class path
Date Fri, 14 Sep 2012 10:20:07 GMT

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

Steve Loughran commented on HADOOP-8797:


Detecting {{JAVA_HOME}} is notoriously brittle -it's been moved to bigtop to let the RPM-
and deb- specific installations deal with in the ways that best suit their platforms, but
even they have to struggle to keep up to date (BIGTOP-523). They can release on a faster cycle
than Hadoop itself, which means that such problems are fixed faster.

The other reason for bigtop hosting is that is where the functional tests of installation
will go, and that's what you need to verify that the JAVA_HOME detection logic goes (and indeed,
any of the other Hadoop scripts). 

Gera -we appreciate the work you've done, but you'd be better off checking out Bigtop and
seeing if there are things there that you need to fix for your installations. 

(and yes, everyone hates the inconsistent placement of Java versions on Linux, as well as
difference between {{JAVA_HOME}} and {{JDK_HOME}}.
> automatically detect JAVA_HOME on Linux, report native lib path similar to class path
> -------------------------------------------------------------------------------------
>                 Key: HADOOP-8797
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8797
>             Project: Hadoop Common
>          Issue Type: Improvement
>         Environment: Linux
>            Reporter: Gera Shegalov
>            Priority: Trivial
>         Attachments: HADOOP-8797.patch
> Enhancement 1)
> iterate common java locations on Linux starting with Java7 down to Java6
> Enhancement 2)
> "hadoop jnipath" to print java.library.path similar to "hadoop classpath"

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message