Authentication error in the Decision Data Store landing page
Version:
If you do not specify user credentials for connecting to an external Cassandra database or if the credentials are incorrect, the Decision Data Store (DDS) landing page displays an authentication error.
Condition
The DDS landing page displays the following error:
Caused by: 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:186) at com.datastax.driver.core.HostConnectionPool.initAsync(HostConnectionPool.java:108) 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:332) at com.datastax.driver.core.Cluster.connectAsync(Cluster.java:305) at com.datastax.driver.core.Cluster.connect(Cluster.java:247)
Remedy
-
Specify the Cassandra user credentials for connecting to an external Cassandra database.
For more information, see Connecting to an external Cassandra database.
- Defining Pega Platform access to an external Cassandra database
Manage Pega Platform access to your external Cassandra database resources by creating Cassandra user roles with assigned permissions.
- 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.