hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira AJISAKA (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (HDFS-10561) test_native_mini_dfs fails by NoClassDefFoundError
Date Wed, 22 Jun 2016 16:02:58 GMT

     [ https://issues.apache.org/jira/browse/HDFS-10561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Akira AJISAKA reassigned HDFS-10561:
------------------------------------

    Assignee: Akira AJISAKA

> 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
>         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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message