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

Allen Wittenauer commented on HADOOP-8187:
------------------------------------------

I guess you didn't bother actually reading that JIRA.  Here, I'll summarize for 
you:

Deveraj opened this jira to track future work.  The primarily thought was 
actually asking the JVM where the libraries are via system properties.  
HADOOP-8737 is a pretty terrible hack that only works on some platforms. By 
asking the JVM, one should only need to port to a JVM rather than an entire 
OS*. Sample code I wrote a while back for Sun's JVM exists in HADOOP-6924.

* - As usual, OS X is a bit of a troublemaker since (by default) libjvm.dylib 
is only 32-bit on at least Snow Leopard in some JVM versions.  (I'll leave it 
as an exercise for the reader to figure out why.)  But by passing by the 
appropriate flags at compile time, it will get built the fat binary version of 
libjvm and the problem goes away.
                
> Improve the discovery of the jvm library during the build process
> -----------------------------------------------------------------
>
>                 Key: HADOOP-8187
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8187
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Devaraj Das
>
> Improve the discovery of the jvm library during the build of native 
> libraries/libhdfs/fuse-dfs, etc. A couple of different ways are currently 
> used (discussed in HADOOP-6924). We should clean this part up and also 
> consider builds of native stuff on OSX.

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

Reply via email to