Unable to connect to Cassandra cluster
Version:
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.
- Troubleshooting Cassandra
Identify the root cause of degraded performance by completing corresponding monitoring activities. Learn about the most commonly encountered Cassandra issues and how to address them.