PLANNED MAINTENANCE

Hello, DataStax Community!

We want to make you aware of a few operational updates which will be carried out on the site. We are working hard to streamline the login process to integrate with other DataStax resources. As such, you will soon be prompted to update your password. Please note that your username will remain the same.

As we work to improve your user experience, please be aware that login to the DataStax Community will be unavailable for a few hours on:

  • Wednesday, July 15 16:00 PDT | 19:00 EDT | 20:00 BRT
  • Thursday, July 16 00:00 BST | 01:00 CEST | 04:30 IST | 07:00 CST | 09:00 AEST

For more info, check out the FAQ page. Thank you for being a valued member of our community.


question

rangumanikar_88470 avatar image
rangumanikar_88470 asked ·

Startup failing with invalid yaml

Hi Team,


we are not able to bring up the services on one cluster apache 3.1.3 and failing with below error.

INFO [main] 2019-07-02 23:36:02,013 YamlConfigurationLoader.java:89 - Configuration location: file:/cassandra/product/srastg-cluster/apache-cassandra/apache-cassandra-3.11.1/conf/cassandra.yaml
Exception (org.apache.cassandra.exceptions.ConfigurationException) encountered during startup: Invalid yaml: file:/cassandra/product/srastg-cluster/apache-cassandra/apache-cassandra-3.11.1/conf/cassandra.yaml
Error: null; Can't construct a java object for tag:yaml.org,2002:org.apache.cassandra.config.Config; exception=Cannot create property=start_rpc for JavaBean=org.apache.cassandra.config.Config@67e2d983; Can not set boolean field org.apache.cassandra.config.Config.start_rpc to null value; in 'reader', line 10, column 1:
cluster_name: 'srastg-cluster'
^


Regards,

Manikar


cassandra
1 comment
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

@rangumanikar_88470 The error indicates that you have set start_rpc to a null value. The correct format is:

start_rpc: true
Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.