Amit, W/ould you be able to provide the full stacktrace?
Arvydas On Thu, Dec 8, 2022 at 8:07 AM Amit Patel via user < user@cassandra.apache.org> wrote: > Hi, > > > > I have installed cassandra-4.0.7-1.noarch - repo ( baseurl= > https://redhat.cassandra.apache.org/40x/noboolean/) on Redhat 7.9. > > > > We have configured the below properties in cassandra.yaml > > > > Basic Parameters configured in /etc/cassandra/conf/cassandra.yaml" > > > > cluster_name: 'CDBCluster' > > seed_provider: > > - class_name: org.apache.cassandra.locator.SimpleSeedProvider > > parameters: > > - seeds: "10.33.1.200" > > listen_address: cdb-server01.local > > rpc_address: 10.33.1.200 > > endpoint_snitch: GossipingPropertyFileSnitch > > > > > > when I start the Cassandra it fails to start. > > > > Below : system.log ( I don’t think it is related yaml issue but something > else) . > > > > INFO [main] 2022-12-08 13:20:57,923 YamlConfigurationLoader.java:97 - > Configuration location: file:/etc/cassandra/default.conf/cassandra.yaml > > Exception (org.apache.cassandra.exceptions.ConfigurationException) > encountered during startup: Invalid yaml: > file:/etc/cassandra/default.conf/cassandra.yaml > > Error: Can't construct a java object for > tag:yaml.org,2002:org.apache.cassandra.config.Config; > exception=java.lang.reflect.InvocationTargetException > > in 'reader', line 12, column 1: > > cluster_name: 'CDBCluster' > > ^ > > > > Invalid yaml: file:/etc/cassandra/default.conf/cassandra.yaml > > Error: Can't construct a java object for > tag:yaml.org,2002:org.apache.cassandra.config.Config; > exception=java.lang.reflect.InvocationTargetException > > in 'reader', line 12, column 1: > > cluster_name: 'CDBCluster' > > ^ > > > > ERROR [main] 2022-12-08 13:20:58,185 CassandraDaemon.java:911 - Exception > encountered during startup: Invalid yaml: > file:/etc/cassandra/default.conf/cassandra.yaml > > Error: Can't construct a java object for > tag:yaml.org,2002:org.apache.cassandra.config.Config; > exception=java.lang.reflect.InvocationTargetException > > in 'reader', line 12, column 1: > > cluster_name: 'CDBCluster' > > ^ > > > > > > I would appreciate if you please advice what is wrong? I have tried older > version also 4.0.6 and 4.0.4 but same error even with default installation > (config files) same issue. > > > > Thanks & Kind Regards, > > Amit Patel > > This e-mail message, including any attachments transmitted with it, is > CONFIDENTIAL and may contain legally privileged information. This message is > intended solely for the use of the individual or entity to whom it is > addressed. If > you have received this message in error, please notify us immediately and > delete > it from your system. Please visit our website to read the full disclaimer > www.euroclear.com/disclaimer and for Euroclear Group company > information www.euroclear.com/aboutus > >