Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
Low
Description
The new directory stuff blows up nodetool if its not there. Like if I run nodetool from an different untar of the rc2 tar.gz.
apache-cassandra-2.1.0-rc2/bin $ ./nodetool ring Note: Ownership information does not include topology; for complete information, specify a keyspace Datacenter: Analytics ========== Address Rack Status State Load Owns Token 127.0.0.1 rack1 Up Normal 57.88 KB 100.00% 3647214374146654083 ERROR 21:59:30 Fatal configuration error org.apache.cassandra.exceptions.ConfigurationException: commitlog_directory is missing and -Dcassandra.storagedir is not set at org.apache.cassandra.config.DatabaseDescriptor.applyConfig(DatabaseDescriptor.java:461) ~[apache-cassandra-2.1.0-rc2.jar:2.1.0-rc2] at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:129) ~[apache-cassandra-2.1.0-rc2.jar:2.1.0-rc2] at org.apache.cassandra.tools.NodeTool$Ring.execute(NodeTool.java:464) [apache-cassandra-2.1.0-rc2.jar:2.1.0-rc2] at org.apache.cassandra.tools.NodeTool$NodeToolCmd.run(NodeTool.java:245) [apache-cassandra-2.1.0-rc2.jar:2.1.0-rc2] at org.apache.cassandra.tools.NodeTool.main(NodeTool.java:159) [apache-cassandra-2.1.0-rc2.jar:2.1.0-rc2] commitlog_directory is missing and -Dcassandra.storagedir is not set Fatal configuration error; unable to start. See log for stack trace.
Attachments
Attachments
Issue Links
- is duplicated by
-
CASSANDRA-7710 nodetool ring throws exception if run on machine without Cassandra
- Resolved