Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.9.0
-
None
Description
After HDFS-10256, test_libhdfs_threaded_hdfs_static, test_libhdfs_zerocopy_hdfs_static, and test_test_native_mini_dfs are failing by NoClassDefFoundError.
nmdCreate: Builder#build error: java.lang.NoClassDefFoundError: org/junit/Assert at org.apache.hadoop.test.GenericTestUtils.assertExists(GenericTestUtils.java:205) at org.apache.hadoop.test.GenericTestUtils.getTestDir(GenericTestUtils.java:150) at org.apache.hadoop.test.GenericTestUtils.getTestDir(GenericTestUtils.java:159) at org.apache.hadoop.hdfs.MiniDFSCluster.getBaseDirectory(MiniDFSCluster.java:2745) at org.apache.hadoop.hdfs.MiniDFSCluster.determineDfsBaseDir(MiniDFSCluster.java:2735) at org.apache.hadoop.hdfs.MiniDFSCluster.initMiniDFSCluster(MiniDFSCluster.java:800) at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:490) at org.apache.hadoop.hdfs.MiniDFSCluster$Builder.build(MiniDFSCluster.java:449) Caused by: java.lang.ClassNotFoundException: org.junit.Assert at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 8 more TEST_ERROR: failed on /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs-tests/test_native_mini_dfs.c:35 (errno: 2): got NULL from cl <end of output> Test time = 1.05 sec
Attachments
Attachments
Issue Links
- is broken by
-
HDFS-10256 Use GenericTestUtils.getTestDir method in tests for temporary directories
- Resolved