Cassandra CQL Shell opens and closes

0

I started to study about CassandraDB, but I'm using Windows. When I start the 'DataStax DDC Server 3.9.0' service I get an error. Viewing the logs, you get the error:

Arquivo: datastax_ddc_server-stderr.xxx.log:  
2018-10-19 10:32:28 Commons Daemon procrun stderr initialized  
Invalid yaml: file:/C:/Program%20Files/DataStax-DDC/apache-cassandra/conf/cassandra.yaml  
Error: while scanning a double-quoted scalar; found unknown escape character D(68);  in 'reader', line 168, column 40:  
     ... og_directory: "C:\Program Files\DataStax-DDC\data\commitlog" 

In the file datastax_ddc_server-stdout.xxx.log :

2018-10-19 10:32:28 Commons Daemon procrun stdout initialized  
INFO  13:32:29 Configuration location: file:/C:/Program%20Files/DataStax-DDC/apache-cassandra/conf/cassandra.yaml  
Exception (org.apache.cassandra.exceptions.ConfigurationException) encountered during startup: Invalid yaml: file:/C:/Program%20Files/DataStax-DDC/apache-cassandra/conf/cassandra.yaml  
Error: while scanning a double-quoted scalar; found unknown escape character D(68);  in 'reader', line 168, column 40:  
         ... og_directory: "C:\Program Files\DataStax-DDC\data\commitlog" 
                                         ^
ERROR 13:32:29 Exception encountered during startup: Invalid yaml: file:/C:/Program%20Files/DataStax-DDC/apache-cassandra/conf/cassandra.yaml
 Error: while scanning a double-quoted scalar; found unknown escape character D(68);  in 'reader', line 168, column 40:
     ... og_directory: "C:\Program Files\DataStax-DDC\data\commitlog" 
    
asked by anonymous 19.10.2018 / 17:04

1 answer

0

I could not solve the problem yet, but I managed to get around the situation. Inside the cassandra directory has a file called 'cassandra.bat', I ran this file and then started the cassandra cql shell, after which I was able to work normally with the database.

I have not yet had time to parse the .bat file, but my solution will be there, at least directing it.

    
24.10.2018 / 20:41