Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3296

Running libhdfs tests in mac fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • libhdfs
    • None

    Description

      Running "ant -Dcompile.c+=true -Dlibhdfs=true test-c+-libhdfs" on Mac fails with following error:

           [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
      

      Attachments

        1. HDFS-3296.001.patch
          2 kB
          Chris Nauroth
        2. HDFS-3296.002.patch
          2 kB
          Chris Nauroth
        3. HDFS-3296.003.patch
          1.0 kB
          Chris Nauroth
        4. HDFS-3296.004.patch
          22 kB
          John Zhuge

        Issue Links

          Activity

            People

              Unassigned Unassigned
              amareshwari Amareshwari Sriramadasu
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: