MN_WA
MN_WA

Reputation: 171

Exception encountered during startup: cdc_raw_directory is missing and -Dcassandra.storagedir is not set

I have installed Cassandra for Windows x64 distributed by Datastax following the directions here: Installing DataStax Distribution of Apache Cassandra 3.x for Windows

However, even though the installation goes through successfully, the service fails to start with the following error. I am using Windows 7 x64, I used elevated command prompt to kick off the installation.

ERROR [main] 2016-10-11 13:40:22,710 CassandraDaemon.java:747 - Exception encountered during startup: cdc_raw_directory is missing and -Dcassandra.storagedir is not set

Any suggestions? I am not sure what I should set the cdc_raw_directory or Dcassandra.storagedir to.

Upvotes: 8

Views: 3999

Answers (1)

David Lilljegren
David Lilljegren

Reputation: 1949

I had the same issue with DataStax 3.9

I got it to start doing the following Edit

DataStax-DDC\apache-cassandra\conf\cassandra.yaml

Uncomment the cdc_raw_directory and set it to

cdc_raw_directory: "C:/Program Files/DataStax-DDC/data/cdc_raw" 

After this the service will start

Upvotes: 11

Related Questions