Kurt Young created FLINK-13687:
---------------------------------- Summary: elasticsearch5.ElasticsearchSinkITCase constantly fail with 1.9.0-rc2 Key: FLINK-13687 URL: https://issues.apache.org/jira/browse/FLINK-13687 Project: Flink Issue Type: Bug Components: Connectors / ElasticSearch, Tests Affects Versions: 1.9.0 Environment: Linux server, kernal 3.10.0 java version "1.8.0_102" Reporter: Kurt Young Fix For: 1.9.0 I tried to build flink 1.9.0-rc2 from source and ran all tests in a linux server, elasticsearch5.ElasticsearchSinkITCase will be constantly fail. failed trace: {code:java} 1528 [main] INFO org.apache.flink.streaming.connectors.elasticsearch.ElasticsearchSinkTestBase - ------------------------------------------------------------------------- 1528 [main] INFO org.apache.flink.streaming.connectors.elasticsearch.ElasticsearchSinkTestBase - Starting embedded Elasticsearch node 1528 [main] INFO org.apache.flink.streaming.connectors.elasticsearch.ElasticsearchSinkTestBase - ------------------------------------------------------------------------- ERROR StatusLogger Unable to create class org.apache.flink.streaming.connectors.elasticsearch5.shaded.org.apache.logging.slf4j.SLF4JLoggerContextFactory specified in file:/dump/1/kete.yangkt/flink-1.9.0-rc2/flink-1.9.0/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:448) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:380) 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) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. 2546 [main] INFO org.apache.flink.streaming.connectors.elasticsearch.ElasticsearchSinkTestBase - ------------------------------------------------------------------------- 2546 [main] INFO org.apache.flink.streaming.connectors.elasticsearch.ElasticsearchSinkTestBase - Shutting down embedded Elasticsearch node 2546 [main] INFO org.apache.flink.streaming.connectors.elasticsearch.ElasticsearchSinkTestBase - ------------------------------------------------------------------------- 2555 [main] INFO org.apache.flink.runtime.minicluster.MiniCluster - Shutting down Flink Mini Cluster{code} {code:java} [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.918 s <<< FAILURE! - in org.apache.flink.streaming.connectors.elasticsearch5.ElasticsearchSinkITCase [ERROR] org.apache.flink.streaming.connectors.elasticsearch5.ElasticsearchSinkITCase Time elapsed: 2.916 s <<< FAILURE! java.lang.AssertionError: 2:cpuacct,cpu,cpuset:/system.slice/sshd.service [INFO] [INFO] Results: [INFO] [ERROR] Failures: [ERROR] ElasticsearchSinkITCase>ElasticsearchSinkTestBase.prepare:72 2:cpuacct,cpu,cpuset:/system.slice/sshd.service {code} -- This message was sent by Atlassian JIRA (v7.6.14#76016) |
Free forum by Nabble | Edit this page |