DDS service in not started

The stack trace from the log :

Exception in thread “ADM_Pulse_Executor_21” com.pega.dsm.dnode.api.dds.service.SessionNotAvailableException: Unable to obtain session. Cassandra hasn’t been started or is unavailable
at com.pega.dsm.dnode.api.dds.service.CassandraSessionCache.getSession(CassandraSessionCache.java:163)
at com.pega.dsm.dnode.api.dds.service.CassandraSessionCache.getSession(CassandraSessionCache.java:188)
at com.pega.decision.adm.commitlog.AdmMetaTable.readByPartition(AdmMetaTable.java:144)
at com.pega.decision.adm.commitlog.AdmMetaTable.readDataByPartition(AdmMetaTable.java:135)
at com.pega.decision.adm.commitlog.AdmMetaTable.readDataFrom(AdmMetaTable.java:130)

@PK2013137 There is documentation online for this error.

Cause

No node has been defined in the Decision Data Store service. You need to define a decision data store node.

Solution

  1. In the header of Dev Studio, click ConfigureDecisioningInfrastructureServicesDecision Data Store.

  2. Click Add node.

  3. Select an available Pega Platform node to become a decision data store node.

  4. Click Submit.

    Result: The status of the new node is JOINING.

  5. Click Refresh to ensure that the status of the decision data store node changes to NORMAL.

    Decision Data Store service with a working decision data node

And here

Also did you check an of the other PCC questions posted with the same error message?

here and here.

You will need to check the logs for other errors ie the ‘Caused by…’ . If you also see:

com.datastax.driver.core.exceptions.NoHostAvailableException

The above exception can occur cassandra nodes are no longer listening over the configured port.

To resolve the issue decommission the node from DDS landing page and add it again.

In-order to identify the root cause of the issue in-case if it re-occurs in future, enable the DEBUG log level for the below Datastax and Pega loggers at each of the node in the prlog…xml file:

  1. com.datastax.driver.core.Session
  2. com.datastax.driver.core.Connection
  3. com.pega.dsm.dnode.api.dds.service.CassandraSessionCache
  4. com.pega.dsm.dnode.impl.dataset.cassandra.CassandraClusterFactory