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.
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.
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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With