You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Alejandro Abdelnur (JIRA)" <ji...@apache.org> on 2011/07/12 00:42:59 UTC

[jira] [Created] (HBASE-4085) hbase script should add $HADOOP_HOME/lib/native/$JAVA_PLATFORM to JAVA_LIBRARY_PATH

hbase script should add $HADOOP_HOME/lib/native/$JAVA_PLATFORM to JAVA_LIBRARY_PATH
-----------------------------------------------------------------------------------

                 Key: HBASE-4085
                 URL: https://issues.apache.org/jira/browse/HBASE-4085
             Project: HBase
          Issue Type: Bug
          Components: scripts
            Reporter: Alejandro Abdelnur


Currently hbase sets JAVA_LIBRARY_PATH to Hbase native/lib/$JAVA_PLATFORM plus anything added to HBASE_LIBRARY_PATH.

If HADOOP_HOME is defined and $HADOOP_HOME/lib/native/$JAVA_PLATFORM directory exits, then $HADOOP_HOME/lib/native/$JAVA_PLATFORM should be added to the JAVA_LIBRARY_PATH.

However this brings up a more general issue, if HADOOP_HOME is defined, hbase should use the JARs, SOs and configuration from it, right? 

>From what I understand something like this was done in the past.




--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4085) hbase script should add $HADOOP_HOME/lib/native/$JAVA_PLATFORM to JAVA_LIBRARY_PATH

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13063717#comment-13063717 ] 

stack commented on HBASE-4085:
------------------------------

Alejandro, there is HBASE-3465.  Is that what you are referring to?  There is some discussion over there on what'd be involved if we used HADOOP_HOME if defined.  I'd think we'd have to put our hadoop jar into a subdir in lib dir to make it easier building CLASSPATH.

> hbase script should add $HADOOP_HOME/lib/native/$JAVA_PLATFORM to JAVA_LIBRARY_PATH
> -----------------------------------------------------------------------------------
>
>                 Key: HBASE-4085
>                 URL: https://issues.apache.org/jira/browse/HBASE-4085
>             Project: HBase
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Alejandro Abdelnur
>
> Currently hbase sets JAVA_LIBRARY_PATH to Hbase native/lib/$JAVA_PLATFORM plus anything added to HBASE_LIBRARY_PATH.
> If HADOOP_HOME is defined and $HADOOP_HOME/lib/native/$JAVA_PLATFORM directory exits, then $HADOOP_HOME/lib/native/$JAVA_PLATFORM should be added to the JAVA_LIBRARY_PATH.
> However this brings up a more general issue, if HADOOP_HOME is defined, hbase should use the JARs, SOs and configuration from it, right? 
> From what I understand something like this was done in the past.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (HBASE-4085) hbase script should add $HADOOP_HOME/lib/native/$JAVA_PLATFORM to JAVA_LIBRARY_PATH

Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alejandro Abdelnur resolved HBASE-4085.
---------------------------------------

    Resolution: Duplicate

Duplicated of HBASE-3465

> hbase script should add $HADOOP_HOME/lib/native/$JAVA_PLATFORM to JAVA_LIBRARY_PATH
> -----------------------------------------------------------------------------------
>
>                 Key: HBASE-4085
>                 URL: https://issues.apache.org/jira/browse/HBASE-4085
>             Project: HBase
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Alejandro Abdelnur
>
> Currently hbase sets JAVA_LIBRARY_PATH to Hbase native/lib/$JAVA_PLATFORM plus anything added to HBASE_LIBRARY_PATH.
> If HADOOP_HOME is defined and $HADOOP_HOME/lib/native/$JAVA_PLATFORM directory exits, then $HADOOP_HOME/lib/native/$JAVA_PLATFORM should be added to the JAVA_LIBRARY_PATH.
> However this brings up a more general issue, if HADOOP_HOME is defined, hbase should use the JARs, SOs and configuration from it, right? 
> From what I understand something like this was done in the past.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4085) hbase script should add $HADOOP_HOME/lib/native/$JAVA_PLATFORM to JAVA_LIBRARY_PATH

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13064726#comment-13064726 ] 

stack commented on HBASE-4085:
------------------------------

Sounds good Alejandro.

> hbase script should add $HADOOP_HOME/lib/native/$JAVA_PLATFORM to JAVA_LIBRARY_PATH
> -----------------------------------------------------------------------------------
>
>                 Key: HBASE-4085
>                 URL: https://issues.apache.org/jira/browse/HBASE-4085
>             Project: HBase
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Alejandro Abdelnur
>
> Currently hbase sets JAVA_LIBRARY_PATH to Hbase native/lib/$JAVA_PLATFORM plus anything added to HBASE_LIBRARY_PATH.
> If HADOOP_HOME is defined and $HADOOP_HOME/lib/native/$JAVA_PLATFORM directory exits, then $HADOOP_HOME/lib/native/$JAVA_PLATFORM should be added to the JAVA_LIBRARY_PATH.
> However this brings up a more general issue, if HADOOP_HOME is defined, hbase should use the JARs, SOs and configuration from it, right? 
> From what I understand something like this was done in the past.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4085) hbase script should add $HADOOP_HOME/lib/native/$JAVA_PLATFORM to JAVA_LIBRARY_PATH

Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13064030#comment-13064030 ] 

Alejandro Abdelnur commented on HBASE-4085:
-------------------------------------------

Stack, yes that one.

What this JIRA (HBASE-4085) is bringing up should be taken care as part of that solution of HBASE-3465. In other words, HBASE-3465 should not be only about JAR files but it should take care also of native libs.

> hbase script should add $HADOOP_HOME/lib/native/$JAVA_PLATFORM to JAVA_LIBRARY_PATH
> -----------------------------------------------------------------------------------
>
>                 Key: HBASE-4085
>                 URL: https://issues.apache.org/jira/browse/HBASE-4085
>             Project: HBase
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Alejandro Abdelnur
>
> Currently hbase sets JAVA_LIBRARY_PATH to Hbase native/lib/$JAVA_PLATFORM plus anything added to HBASE_LIBRARY_PATH.
> If HADOOP_HOME is defined and $HADOOP_HOME/lib/native/$JAVA_PLATFORM directory exits, then $HADOOP_HOME/lib/native/$JAVA_PLATFORM should be added to the JAVA_LIBRARY_PATH.
> However this brings up a more general issue, if HADOOP_HOME is defined, hbase should use the JARs, SOs and configuration from it, right? 
> From what I understand something like this was done in the past.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira