Table of Contents

Unable to connect to Cassandra cluster


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.datastax.driver.core.HostConnectionPool.initAsync(
at com.datastax.driver.core.SessionManager.replacePool(
at com.datastax.driver.core.SessionManager.maybeAddPool(
at com.datastax.driver.core.SessionManager.createPools(
at com.datastax.driver.core.SessionManager.initAsync(
at com.datastax.driver.core.Cluster.connectAsync(
at com.datastax.driver.core.Cluster.connectAsync(
at com.datastax.driver.core.Cluster.connect(
  • 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.