Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Unable to fetch host name from DSS for Cassandra connect ruleset

SA-43509

Summary



The host file in Connect-Cassandra rules does not accept dynamic values and requires a hardcoded IP address. Each environment uses a different IP address, and the rules requiring hardcoded IP addresses block migration.


Error Messages



Not Applicable


Steps to Reproduce

  1. Include 20 connect Cassandra rules and pass the host names from a Dynamic System Settings (DSS) setting.
  2. Configure a Cassandra connect ruleset to look for IP addresses.
  3. Move the locked rulesets from one environment to another, ensure that the host names from DSS setting cannot be updated.


Root Cause



Rule-connect-Cassandra contains some environment variables that are tight to the rule form. While migrating the rule from different environments, the values may change due to some mismatches between the environments. Using this feature, values can be overridden on the rule form by defining matching DSS. If there are no matching values defined, then values on the rule form are used.

Resolution

  1. Apply HFix-36294.
  2. For the Rule-connect-Cassandra, define DSS values with predefined prefixes on Pega-BigData Ruleset.
Value Prefix Description
Host connector/cassandra/host/ host or comma separated host names
Port connector/cassandra/port/ port number ,default 9042
Keyspace connector/cassandra/keyspace/ keyspace that will be used.

Examples:
Rule Form Value DSS @ Pega-BigData Value that will be used
host: cassandracluster - cassandracluster
host: cassandracluster connector/cassandra/host/cassandracluster -> host1,host2 host1,host2
port: - 9042
port: 1234 connector/cassandra/port/1234 -> 9042 9042
keyspace : testkeypace - testkeypace
keyspace : testkeypace connector/cassandra/keyspace/testkeypace -> prodkeyspace prodkeyspace



Published December 11, 2017 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us