You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (Jira)" <ji...@apache.org> on 2021/05/24 15:56:00 UTC

[jira] [Updated] (CASSANDRA-16691) Error instantiating class com.datastax.spark.connector.cql.LocalNodeFirstLoadBalancingPolicy

     [ https://issues.apache.org/jira/browse/CASSANDRA-16691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Williams updated CASSANDRA-16691:
-----------------------------------------
    Resolution: Invalid
        Status: Resolved  (was: Triage Needed)

You should file a ticket for the java driver if this persists (though I think you have a build issue) but this jira cannot assist you as it for the apache cassandra server.

> Error instantiating class com.datastax.spark.connector.cql.LocalNodeFirstLoadBalancingPolicy
> --------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-16691
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16691
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Luciana
>            Priority: Normal
>         Attachments: pom.xml
>
>
> Hi,
> I updated java drive for version 4.11.1 and the spark connector stoped. 
> The enviroment is Cassandra 4.0, java-drive 4.11.1, native-protocol 1.5.0, spark-connector 3.0.0, JDK 8, Ubuntu 16. Attached the pom.xlm for more informations.
> Observations:
> - The nodetool is running ok.
> - The cqlsh is running ok. 
> - Tomcat can load the .war.
> - The keyspace is SimpleStrategy, only one node and DC. Standard configuration. 
> - The spark failed.
>  
> *This is the error in the console log :*  java.io.IOException: Failed to open native connection to Cassandra at \{127.0.0.1:9042} :: Error instantiating class com.datastax.spark.connector.cql.LocalNodeFirstLoadBalancingPolicy (specified by basic.load-balancing-policy.class): com.datastax.oss.driver.internal.core.context.InternalDriverContext.getNodeFilter(Ljava/lang/String;)Ljava/util/function/Predicate;
>  
> *Caused by:* java.lang.IllegalArgumentException: Error instantiating class com.datastax.spark.connector.cql.LocalNodeFirstLoadBalancingPolicy (specified by basic.load-balancing-policy.class): com.datastax.oss.driver.internal.core.context.InternalDriverContext.getNodeFilter(Ljava/lang/String;)Ljava/util/function/Predicate;
> *Caused by:* java.lang.NoSuchMethodError: com.datastax.oss.driver.internal.core.context.InternalDriverContext.getNodeFilter
> I openned a issue  SPARKC-652 ([[https://datastax-oss.atlassian.net/browse/SPARKC-652])]
> Best,



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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org