Pedro Gordo
Pedro Gordo

Reputation: 1865

Starting Cassandra on the foreground

If I start the Cassandra service everything is ok, but when I try to start Cassandra on the foreground using "cassandra -f" I get the following error:

Error: Could not find or load main class Files\DataStax-DDC\apache-cassandra.logs.gc.log

Do I need to configure anything in particular to run Cassandra in the foreground?

Upvotes: 1

Views: 1477

Answers (1)

Chris Lohfink
Chris Lohfink

Reputation: 16400

Looks like the space in your "Program Files" directory is not escaped in your CASSANDRA_HOME environment variable. It gets set in your cassandra-env.ps1 (in conf/) config file, you could manually set it.

Upvotes: 1

Related Questions