java -version
openjdk version "1.8.0_352"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_352-b08)
OpenJDK 64-Bit Server VM (Temurin)(build 25.352-b08, mixed mode)

From: Jeff Jirsa <jji...@gmail.com>
Sent: 08 December 2022 17:42
To: user@cassandra.apache.org; Amit Patel <amit.pa...@euroclear.com>
Subject: Re: Cassandra 4.0.7 - issue - service not starting

CAUTION: This email comes from outside Euroclear! Be vigilant!
What version of java are you using?


On Thu, Dec 8, 2022 at 8:07 AM Amit Patel via user 
<user@cassandra.apache.org<mailto: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<http://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<http://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<http://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<http://www.euroclear.com/disclaimer> and for 
Euroclear Group company

information www.euroclear.com/aboutus<http://www.euroclear.com/aboutus>


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

Reply via email to