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

Chris Nauroth commented on HDFS-3296:
-------------------------------------

Hi [~aw].  Thanks for setting up a nightly on OS X!  Even just a basic build to 
catch compilation errors is a huge help.

The patch here won't help with any compilation problems.  This patch was just a 
small step towards fixing the libhdfs tests on Mac by setting up 
{{DYLD_LIBRARY_PATH}} with the right shared library dependencies.  It isn't 
sufficient though, because we still have a compatibility problem around domain 
socket usage.  This manifests as test failures in {{TestDomainSocketWatcher}} 
and unfortunately some of the libhdfs tests just hang.

If the immediate goal is a basic build on OS X, then what I'm currently seeing 
on trunk is a compilation error in the container executor.  This was introduced 
by patch YARN-4594, and I commented on the situation here:

https://issues.apache.org/jira/browse/YARN-4594?focusedCommentId=15139679&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15139679

To summarize that discussion, if I can get the build environment to target the 
Mac OS X 10.10 SDK, then I suspect it would work.  I wasn't able to follow up 
on it though.  I'm curious if you have any thoughts on this.

> Running libhdfs tests in mac fails
> ----------------------------------
>
>                 Key: HDFS-3296
>                 URL: https://issues.apache.org/jira/browse/HDFS-3296
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: libhdfs
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Chris Nauroth
>         Attachments: HDFS-3296.001.patch, HDFS-3296.002.patch
>
>
> Running "ant -Dcompile.c++=true -Dlibhdfs=true test-c++-libhdfs" on Mac fails 
> with following error:
> {noformat}
>      [exec] dyld: lazy symbol binding failed: Symbol not found: 
> _JNI_GetCreatedJavaVMs
>      [exec]   Referenced from: 
> /Users/amareshwari.sr/workspace/hadoop/build/c++/Mac_OS_X-x86_64-64/lib/libhdfs.0.dylib
>      [exec]   Expected in: flat namespace
>      [exec] 
>      [exec] dyld: Symbol not found: _JNI_GetCreatedJavaVMs
>      [exec]   Referenced from: 
> /Users/amareshwari.sr/workspace/hadoop/build/c++/Mac_OS_X-x86_64-64/lib/libhdfs.0.dylib
>      [exec]   Expected in: flat namespace
>      [exec] 
>      [exec] 
> /Users/amareshwari.sr/workspace/hadoop/src/c++/libhdfs/tests/test-libhdfs.sh: 
> line 122: 39485 Trace/BPT trap: 5       CLASSPATH=$HADOOP_CONF_DIR:$CLASSPATH 
> LD_PRELOAD="$LIB_JVM_DIR/libjvm.so:$LIBHDFS_INSTALL_DIR/libhdfs.so:" 
> $LIBHDFS_BUILD_DIR/$HDFS_TEST
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to