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

Alejandro Abdelnur edited comment on HADOOP-8737 at 8/29/12 11:32 AM:
----------------------------------------------------------------------

@Allen, it makes sense. But we shouldn't worry about platforms that we don't 
build native stuff for.

Said this, I'd love to be able to build natively for OSX. I'll help testing the 
patch, and I'll get cycles for a native guy to verify the native changes (I'm 
completely ignorant of that). Then we can figure out how to do this JIRA in a 
more cross-platform way.

Looking forward to see your patch for OSX.
                
      was (Author: tucu00):
    @Allen, it makes sense. We shouldn't worry about platforms that we don't 
build native stuff for.

Said this, I'd love to be able to build natively for OSX. I'll help testing the 
patch, and I'll get cycles for a native guy to verify the native changes (I'm 
completely ignorant of that). Then we can figure out how to do this JIRA in a 
more cross-platform way.

Looking forward to see your patch for OSX.
                  
> cmake: always use JAVA_HOME to find libjvm.so, jni.h, jni_md.h
> --------------------------------------------------------------
>
>                 Key: HADOOP-8737
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8737
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: native
>    Affects Versions: 2.2.0-alpha
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HADOOP-8737.001.patch
>
>
> We should always use the {{libjvm.so}}, {{jni.h}}, and {{jni_md.h}} under 
> {{JAVA_HOME}}, rather than trying to look for them in system paths.  Since we 
> compile with Maven, we know that we'll have a valid {{JAVA_HOME}} at all 
> times.  There is no point digging in system paths, and it can lead to host 
> contamination if the user has multiple JVMs installed.

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