[
https://issues.apache.org/jira/browse/HDFS-10561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Akira Ajisaka updated HDFS-10561:
---------------------------------
Resolution: Fixed
Fix Version/s: 2.9.0
Status: Resolved (was: Patch Available)
Thanks [~vinayrpet] for the review. Committed this to trunk and branch-2.
> test_native_mini_dfs fails by NoClassDefFoundError
> --------------------------------------------------
>
> Key: HDFS-10561
> URL: https://issues.apache.org/jira/browse/HDFS-10561
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: native, test
> Affects Versions: 2.9.0
> Reporter: Akira Ajisaka
> Assignee: Akira Ajisaka
> Fix For: 2.9.0
>
> Attachments: HDFS-10561.01.patch
>
>
> After HDFS-10256, test_libhdfs_threaded_hdfs_static,
> test_libhdfs_zerocopy_hdfs_static, and test_test_native_mini_dfs are failing
> by NoClassDefFoundError.
> {noformat}
> 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
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]