Cassandra throwing org.apache.cassandra.config.ConfigurationException: Cannot locate dse.yaml

StackOverflow https://stackoverflow.com/questions/12353323

  •  01-07-2021
  •  | 
  •  

Question

I am trying to run sstable2json utility after starting cassandra server but it throwing following error. Fatal Configuration error org.apache.cassandra.config.ConfigurationException: Cannot locate dse.yaml

Fatal Configuration error; Unable to start server.

command: bin/sstabel2json /opt/dse2.1/dse-data/UserDemo/Users-hd-3-Data.db > Users.json

Before this: i started server by passing system parameter command:bin/cassandra -f -Ddse.config=file:/opt/dse2.1/resources/dse/conf/dse.yaml

Eventhough it is througing this error.

Please let me know why cassandra throwing this error while invoking sstable2json.

Était-ce utile?

La solution

It should work if you add /opt/dse2.1/resources/dse/conf/ to the classpath

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top