cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremiah Jordan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-7508) nodetool prints error if dir's don't exist.
Date Mon, 07 Jul 2014 22:05:33 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-7508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jeremiah Jordan updated CASSANDRA-7508:
---------------------------------------

    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.

{noformat}
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.
{noformat}

  was:
The new directory stuff blows up nodetool if its not there.  Like if I run nodetool from an
different untag of the rc2 tar.gz.

{noformat}
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.
{noformat}


> nodetool prints error if dir's don't exist.
> -------------------------------------------
>
>                 Key: CASSANDRA-7508
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7508
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jeremiah Jordan
>            Priority: Minor
>
> 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.
> {noformat}
> 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.
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message