LinkedIn
Copied!

Table of Contents

Unable to connect to Cassandra cluster

Version:

Only available versions of this content are shown in the dropdown

A node cannot join the Decision Data Store (DDS) cluster.

This issue is caused by the failure of a DataStax driver. An error message is displayed in Pega Platform when trying to add a node to the cluster, for example:

[JAVA-1220] Driver should fail fast on subsequent connect/init calls if Cluster.manager.init() fails - DataStax
java.lang.IllegalArgumentException: initialArraySize cannot be negative but was: -2147483648
at com.google.common.collect.CollectPreconditions.checkNonnegative(CollectPreconditions.java:39)
at com.google.common.collect.Lists.newArrayListWithCapacity(Lists.java:174)
at com.datastax.driver.core.HostConnectionPool.initAsync(HostConnectionPool.java:114)
at com.datastax.driver.core.SessionManager.replacePool(SessionManager.java:323)
at com.datastax.driver.core.SessionManager.maybeAddPool(SessionManager.java:359)
at com.datastax.driver.core.SessionManager.createPools(SessionManager.java:119)
at com.datastax.driver.core.SessionManager.initAsync(SessionManager.java:89)
at com.datastax.driver.core.Cluster.connectAsync(Cluster.java:336)
at com.datastax.driver.core.Cluster.connectAsync(Cluster.java:309)
at com.datastax.driver.core.Cluster.connect(Cluster.java:251
  • Restart the node that caused the issue.

    For more information, see Recovering a node.

Related Content

Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.