flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Till Rohrmann (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-10609) Source distribution tests fails with logging ClassCastException
Date Sun, 21 Oct 2018 10:58:00 GMT

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

Till Rohrmann commented on FLINK-10609:
---------------------------------------

This should also apply to the current master, right [~Zentol]?

> Source distribution tests fails with logging ClassCastException
> ---------------------------------------------------------------
>
>                 Key: FLINK-10609
>                 URL: https://issues.apache.org/jira/browse/FLINK-10609
>             Project: Flink
>          Issue Type: Bug
>          Components: Build System, Tests
>    Affects Versions: 1.5.5, 1.6.2
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Major
>             Fix For: 1.5.5, 1.6.2
>
>
> [~fhueske] and [~dawidwys] have reported a test error while running the tests for the
source distribution of {{1.5.5-rc1}} and {{1.6.2-rc1}}.
> 1.6:
> {code:java}
> ERROR StatusLogger Unable to create class
> org.apache.flink.streaming.connectors.elasticsearch5.shaded.org.apache.logging.slf4j.SLF4JLoggerContextFactory
> specified in
> file:/home/fhueske/Downloads/flink-1.6.2/flink-connectors/flink-connector-elasticsearch5/target/classes/META-INF/log4j-provider.properties
>   java.lang.ClassNotFoundException:
> org.apache.flink.streaming.connectors.elasticsearch5.shaded.org.apache.logging.slf4j.SLF4JLoggerContextFactory
>      at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>      at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
>      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>      at
> org.apache.logging.log4j.spi.Provider.loadLoggerContextFactory(Provider.java:96)
>      at org.apache.logging.log4j.LogManager.<clinit>(LogManager.java:91)
>      at
> org.elasticsearch.common.logging.ESLoggerFactory.getLogger(ESLoggerFactory.java:49)
>      at org.elasticsearch.common.logging.Loggers.getLogger(Loggers.java:105)
>      at org.elasticsearch.node.Node.<init>(Node.java:237)
>      at
> org.apache.flink.streaming.connectors.elasticsearch.EmbeddedElasticsearchNodeEnvironmentImpl$PluginNode.<init>(EmbeddedElasticsearchNodeEnvironmentImpl.java:78)
>      at
> org.apache.flink.streaming.connectors.elasticsearch.EmbeddedElasticsearchNodeEnvironmentImpl.start(EmbeddedElasticsearchNodeEnvironmentImpl.java:54)
>      at
> org.apache.flink.streaming.connectors.elasticsearch.ElasticsearchSinkTestBase.prepare(ElasticsearchSinkTestBase.java:72)

> {code}
> 1.5:
> {code:java}
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support
was removed in 8.0
> Running org.apache.flink.addons.hbase.HBaseConnectorITCase
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.557 sec <<<
FAILURE! - in org.apache.flink.addons.hbase.HBaseConnectorITCase
> org.apache.flink.addons.hbase.HBaseConnectorITCase  Time elapsed: 0.556 sec  <<<
ERROR!
> java.lang.ClassCastException: org.apache.commons.logging.impl.SLF4JLocationAwareLog cannot
be cast to org.apache.commons.logging.impl.Log4JLogger
> org.apache.flink.addons.hbase.HBaseConnectorITCase  Time elapsed: 0.557 sec  <<<
ERROR!
> java.lang.NullPointerException{code}



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

Mime
View raw message