You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Benjamin Gonzalez (Jira)" <ji...@apache.org> on 2021/05/14 17:45:00 UTC

[jira] [Commented] (BEAM-10272) Failure in CassandraIOTest init: cannot create cluster due to netty link error

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

Benjamin Gonzalez commented on BEAM-10272:
------------------------------------------

I saw this error [https://ci-beam.apache.org/job/beam_PreCommit_Java_Commit/17550/] in the same test but with a different stack trace, I'm not sure if they are related.
{code:java}
java.lang.RuntimeException: Unable to create embedded Cassandra cluster: tried 5 times with 5000 delay at org.apache.beam.sdk.io.cassandra.CassandraIOTest.buildCluster(CassandraIOTest.java:178) at org.apache.beam.sdk.io.cassandra.CassandraIOTest.beforeClass(CassandraIOTest.java:146) ...Caused by: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: localhost/127.0.0.1:9042 (com.datastax.driver.core.exceptions.TransportException: [localhost/127.0.0.1:9042] Cannot connect))
{code}

> Failure in CassandraIOTest init: cannot create cluster due to netty link error
> ------------------------------------------------------------------------------
>
>                 Key: BEAM-10272
>                 URL: https://issues.apache.org/jira/browse/BEAM-10272
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-cassandra, test-failures
>            Reporter: Kenneth Knowles
>            Priority: P1
>              Labels: flake
>
> https://builds.apache.org/job/beam_PreCommit_Java_Commit/11785/testReport/junit/org.apache.beam.sdk.io.cassandra/CassandraIOTest/classMethod/
> {code}
> java.lang.UnsatisfiedLinkError: could not load a native library: netty-transport-native-epoll
> 	at io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:233)
> 	at io.netty.channel.epoll.Native.loadNativeLibrary(Native.java:269)
> 	at io.netty.channel.epoll.Native.<clinit>(Native.java:64)
> 	at io.netty.channel.epoll.Epoll.<clinit>(Epoll.java:33)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:264)
> 	at com.datastax.driver.core.NettyUtil.<clinit>(NettyUtil.java:57)
> 	at com.datastax.driver.core.NettyOptions.eventLoopGroup(NettyOptions.java:95)
> 	at com.datastax.driver.core.Connection$Factory.<init>(Connection.java:956)
> 	at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1665)
> 	at com.datastax.driver.core.Cluster.init(Cluster.java:214)
> 	at com.datastax.driver.core.Cluster.connectAsync(Cluster.java:387)
> 	at com.datastax.driver.core.Cluster.connectAsync(Cluster.java:366)
> 	at com.datastax.driver.core.Cluster.connect(Cluster.java:311)
> 	at info.archinnov.achilles.embedded.AchillesInitializer.initializeFromParameters(AchillesInitializer.java:63)
> 	at info.archinnov.achilles.embedded.CassandraEmbeddedServer.<init>(CassandraEmbeddedServer.java:64)
> 	at info.archinnov.achilles.embedded.CassandraEmbeddedServerBuilder.buildNativeCluster(CassandraEmbeddedServerBuilder.java:535)
> 	at org.apache.beam.sdk.io.cassandra.CassandraIOTest.buildCluster(CassandraIOTest.java:160)
> 	at org.apache.beam.sdk.io.cassandra.CassandraIOTest.beforeClass(CassandraIOTest.java:146)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)