hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira Ajisaka (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14298) TestHadoopArchiveLogsRunner fails
Date Mon, 24 Apr 2017 08:09:04 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-14298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15980839#comment-15980839
] 

Akira Ajisaka commented on HADOOP-14298:
----------------------------------------

bq. The scope of hadoop-hdfs's dependency on hadoop-hdfs-client has changed from "compile"
to "provided". This may affect users who directly consume hadoop-hdfs, which is a private
API. These users need to add a new dependency on hadoop-hdfs-client, or better yet, switch
from hadoop-hdfs to hadoop-hdfs-client.

Now I'm -0 for reverting this because the change is useful for users to avoid consuming hadoop-hdfs
(i.e. private API) directly in Hadoop 3.

> TestHadoopArchiveLogsRunner fails
> ---------------------------------
>
>                 Key: HADOOP-14298
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14298
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>            Reporter: Akira Ajisaka
>            Assignee: Akira Ajisaka
>         Attachments: HADOOP-14298.01.patch
>
>
> {noformat}
> Running org.apache.hadoop.tools.TestHadoopArchiveLogsRunner
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.687 sec <<<
FAILURE! - in org.apache.hadoop.tools.TestHadoopArchiveLogsRunner
> testHadoopArchiveLogs(org.apache.hadoop.tools.TestHadoopArchiveLogsRunner)  Time elapsed:
4.631 sec  <<< ERROR!
> java.lang.NoClassDefFoundError: org/apache/hadoop/hdfs/HdfsConfiguration
> 	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)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster$Builder.build(MiniDFSCluster.java:450)
> 	at org.apache.hadoop.tools.TestHadoopArchiveLogsRunner.testHadoopArchiveLogs(TestHadoopArchiveLogsRunner.java:66)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message