cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From milenko markovic <milenko...@yahoo.co.uk.INVALID>
Subject How to start cluster after the yaml file has been changed?
Date Mon, 05 Feb 2018 08:28:59 GMT
I have changed yaml config file.Now I want to start my cassandra cluster.I have restarted
node cassandra.service - LSB: distributed storage system for structured data   Loaded:
loaded (/etc/init.d/cassandra; bad; vendor preset: enabled)   Active: active (running) since
ma. 2018-02-05 09:27:05 CET; 2s ago     Docs: man:systemd-sysv-generator(8)  Process:
4854 ExecStop=/etc/init.d/cassandra stop (code=exited, status=0/SUCCESS)  Process: 4863 ExecStart=/etc/init.d/cassandra
start (code=exited, status=0/SUCCESS)   CGroup: /system.slice/cassandra.service     
     └─4944 java -Xloggc:/var/log/cassandra/gc.log -ea -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42
-XX:+HeapDumpOnOutOfMemoryError -Xss256k -XX:StringTableSize=1000003 -XX:+AlwaysPreTouch -
If I go for
sudo -u milenko /usr/sbin/cassandra 

NFO  [main] 2018-02-05 09:27:31,681 YamlConfigurationLoader.java:89 - Configuration location:
file:/etc/cassandra/cassandra.yamlException (org.apache.cassandra.exceptions.ConfigurationException)
encountered during startup: Invalid yaml: file:/etc/cassandra/cassandra.yaml Error: null;
Can't construct a java object for tag:yaml.org,2002:org.apache.cassandra.config.Config; exception=Cannot
create property=seed_provider for JavaBean=org.apache.cassandra.config.Config@551bdc27; java.lang.reflect.InvocationTargetException; 
in 'reader', line 10, column 1:    cluster_name: 'Petter Cluster'    ^Invalid yaml: file:/etc/cassandra/cassandra.yaml Error:
null; Can't construct a java object for tag:yaml.org,2002:org.apache.cassandra.config.Config;
exception=Cannot create property=seed_provider for JavaBean=org.apache.cassandra.config.Config@551bdc27;
java.lang.reflect.InvocationTargetException;  in 'reader', line 10, column 1:    cluster_name:
'Petter Cluster'    ^ERROR [main] 2018-02-05 09:27:32,005 CassandraDaemon.java:706 - Exception
encountered during startup: Invalid yaml: file:/etc/cassandra/cassandra.yaml Error: null;
Can't construct a java object for tag:yaml.org,2002:org.apache.cassandra.config.Config; exception=Cannot
create property=seed_provider for JavaBean=org.apache.cassandra.config.Config@551bdc27; java.lang.reflect.InvocationTargetException; 
in 'reader', line 10, column 1:    cluster_name: 'Petter Cluster'
How to fix this?



Mime
View raw message