Cassandra error: cdc_raw_directory is missing and -Dcassandra.storagedir is not set


How to fix Cassandra error: cdc_raw_directory is missing and -Dcassandra.storagedir is not set ?

You open the log file and see this error:

2018-03-09 00:20:34 Commons Daemon procrun stderr initialized
cdc_raw_directory is missing and -Dcassandra.storagedir is not set

Step 1: open file cassandra.yaml eg in C:\Program Files\DataStax-DDC\apache-cassandra\conf

Step 2: find cdc_raw_directory then uncomment and change your directory like C:/Program Files/DataStax-DDC/data/cdc_raw

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

Leave a Reply