hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15775) [JDK9] Add missing javax.activation-api dependency
Date Fri, 21 Sep 2018 18:03:00 GMT

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

Andrew Purtell commented on HADOOP-15775:
-----------------------------------------

FWIW the 003 patch doesn't address some cases, like TestWebHDFSStoragePolicyCommands. You
need to specify this dependency in the hadoop-hdfs-project POM too.

Cause is:
{noformat}
Caused by: java.lang.ClassNotFoundException: javax.activation.DataSource
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
{noformat}

This is Java 11+28


> [JDK9] Add missing javax.activation-api dependency
> --------------------------------------------------
>
>                 Key: HADOOP-15775
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15775
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: test
>            Reporter: Akira Ajisaka
>            Assignee: Akira Ajisaka
>            Priority: Critical
>         Attachments: HADOOP-15775.01.patch, HADOOP-15775.02.patch, HADOOP-15775.03.patch
>
>
> Many unit tests fail due to missing java.activation module. This failure can be fixed
by adding javax.activation-api as third-party dependency.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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