Pranay Singh created HDFS-14022: ----------------------------------- Summary: Failing CTEST test_libhdfs Key: HDFS-14022 URL: https://issues.apache.org/jira/browse/HDFS-14022 Project: Hadoop HDFS Issue Type: Improvement Affects Versions: 3.0.0 Reporter: Pranay Singh
Here are list of recurring failures that are seen, there seems to be a problem with invoking the build() in MiniDFSClusterBuilder, there are several failures ( 2 cores related to it), in the function struct NativeMiniDfsCluster* nmdCreate(struct NativeMiniDfsConf *conf) { jthr = invokeMethod(env, &val, INSTANCE, bld, MINIDFS_CLUSTER_BUILDER, "build", "()L" MINIDFS_CLUSTER ";"); ---> } Failed CTEST tests test_test_libhdfs_threaded_hdfs_static test_test_libhdfs_zerocopy_hdfs_static test_libhdfs_threaded_hdfspp_test_shim_static test_hdfspp_mini_dfs_smoke_hdfspp_test_shim_static libhdfs_mini_stress_valgrind_hdfspp_test_static memcheck_libhdfs_mini_stress_valgrind_hdfspp_test_static test_libhdfs_mini_stress_hdfspp_test_shim_static test_hdfs_ext_hdfspp_test_shim_static ------------------------ Details of the failures: a) test_test_libhdfs_threaded_hdfs_static hdfsOpenFile(/tlhData0001/file1): FileSystem#open((Lorg/apache/hadoop/fs/Path;I)Lorg/apache/hadoop/fs/FSDataInputStream;) error: (unable to get root cause for java.io.FileNotFoundException) ---> (unable to get stack trace for java.io.FileNotFoundException) TEST_ERROR: failed on /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs-tests/test_libhdfs_threaded.c:180 with NULL return return value (errno: 2): expected substring: File does not exist TEST_ERROR: failed on /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs-tests/test_libhdfs_threaded.c:336 with return code -1 (errno: 2): got nonzero from doTestHdfsOperations(ti, fs, &paths) hdfsOpenFile(/tlhData0000/file1): FileSystem#open((Lorg/apache/hadoop/fs/Path;I)Lorg/apache/hadoop/fs/FSDataInputStream;) error: (unable to get root cause for java.io.FileNotFoundException) b) test_test_libhdfs_zerocopy_hdfs_static nmdCreate: Builder#build error: (unable to get root cause for java.lang.RuntimeException) (unable to get stack trace for java.lang.RuntimeException) TEST_ERROR: failed on /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs-tests/test_libhdfs_zerocopy.c:253 (errno: 2): got NULL from cl Failure: struct NativeMiniDfsCluster* nmdCreate(struct NativeMiniDfsConf *conf) jthr = invokeMethod(env, &val, INSTANCE, bld, MINIDFS_CLUSTER_BUILDER, "build", "()L" MINIDFS_CLUSTER ";"); ===> Failure if (jthr) { printExceptionAndFree(env, jthr, PRINT_EXC_ALL, "nmdCreate: Builder#build"); goto error; } } c) test_libhdfs_threaded_hdfspp_test_shim_static hdfsOpenFile(/tlhData0002/file1): FileSystem#open((Lorg/apache/hadoop/fs/Path;I)Lorg/apache/hadoop/fs/FSDataInputStream;) error: (unable to get root cause for java.io.FileNotFoundException) ---> (unable to get stack trace for java.io.FileNotFoundException) TEST_ERROR: failed on /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs-tests/test_libhdfs_threaded.c:180 with NULL return return value (errno: 2): expected substring: File does not exist TEST_ERROR: failed on /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs-tests/test_libhdfs_threaded.c:336 with return code -1 (errno: 2): got nonzero from doTestHdfsOperations(ti, fs, &paths) d) # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x000000000078c513, pid=16765, tid=0x00007fc4449717c0 # # JRE version: OpenJDK Runtime Environment (8.0_181-b13) (build 1.8.0_181-8u181-b13-0ubuntu0.16.04.1-b13) # Java VM: OpenJDK 64-Bit Server VM (25.181-b13 mixed mode linux-amd64 compressed oops) # Problematic frame: # C [hdfs_ext_hdfspp_test_shim_static+0x38c513] # # Core dump written. Default location: /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/target/main/native/libhdfspp/tests/core or core.16765 # # An error report file with more information is saved as: # /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/target/main/native/libhdfspp/tests/hs_err_pid16765.log # # If you would like to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # <end of output> Test time = 16.09 sec ---------------------------------------------------------- Test Failed. "test_hdfs_ext_hdfspp_test_shim_static" end time: Oct 23 18:46 UTC nmdCreate: Builder#build error: (unable to get root cause for java.lang.RuntimeException) (unable to get stack trace for java.lang.RuntimeException) /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tests/hdfspp_mini_dfs.h:124: Failure Expected: (nullptr) != (clusterInfo), actual: 8-byte object <00-00 00-00 00-00 00-00> vs NULL # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x0000000000775603, pid=16313, tid=0x00007fada5e7c7c0 # # JRE version: OpenJDK Runtime Environment (8.0_181-b13) (build 1.8.0_181-8u181-b13-0ubuntu0.16.04.1-b13) # Java VM: OpenJDK 64-Bit Server VM (25.181-b13 mixed mode linux-amd64 compressed oops) # Problematic frame: # C [hdfspp_mini_dfs_smoke_hdfspp_test_shim_static+0x375603] # # Core dump written. Default location: /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/target/main/native/libhdfspp/tests/core or core.16313 # # An error report file with more information is saved as: # /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/target/main/native/libhdfspp/tests/hs_err_pid16313.log # # If you would like to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # <end of output> Test time = 16.22 sec ---------------------------------------------------------- Test Failed. "test_hdfspp_mini_dfs_smoke_hdfspp_test_shim_static" end time: Oct 23 18:46 UTC -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org