Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

cassandra

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.

like image 769
MN_WA Avatar asked Oct 11 '16 22:10

MN_WA


People also ask

How do I check my Cassandra configuration?

The configuration files of Cassandra are located in the /etc/cassandra directory. cassandra. yaml is the file that contains most of the Cassandra configuration, such as ports used, file locations and seed node IP addresses.

Where is Cassandra yaml located?

yaml file, you must restart the node for the changes to take effect. It is located in the following directories: Cassandra package installations: /etc/cassandra. Cassandra tarball installations: install_location /conf.

What is RPC address in Cassandra?

The address that each Cassandra node shares with clients is the broadcast RPC address; it is controlled by various properties in cassandra. yaml: rpc_address or rpc_interface is the address that the Cassandra process binds to.


1 Answers

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

like image 123
David Lilljegren Avatar answered Sep 20 '22 11:09

David Lilljegren