You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Frank Hsueh (Created) (JIRA)" <ji...@apache.org> on 2012/03/27 00:04:27 UTC
[jira] [Created] (CASSANDRA-4085) create keyspace via cassandra cli
fails
create keyspace via cassandra cli fails
---------------------------------------
Key: CASSANDRA-4085
URL: https://issues.apache.org/jira/browse/CASSANDRA-4085
Project: Cassandra
Issue Type: Bug
Components: Core
Affects Versions: 1.0.8
Environment: Windows 7 x64, Java 7 x64
Reporter: Frank Hsueh
create keyspace should work. it doesn't. e.g.:
>>>>
> cassandra-cli.bat -h localhost -p 9160
Starting Cassandra Client
Connected to: "Test Cluster" on localhost/9160
Welcome to Cassandra CLI version 1.0.8
Type 'help;' or '?' for help.
Type 'quit;' or 'exit;' to quit.
[default@unknown] create keyspace DEMO;
log4j:WARN No appenders could be found for logger (org.apache.cassandra.config.DatabaseDescriptor).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Cannot locate cassandra.yaml
Fatal configuration error; unable to start server. See log for stacktrace.
>
<<<<
disclaimer: first time bug writer for cassandra so I might not have gotten the various fields right.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CASSANDRA-4085) create keyspace via cassandra
cli fails
Posted by "Nick Bailey (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Bailey resolved CASSANDRA-4085.
------------------------------------
Resolution: Duplicate
This was solved in CASSANDRA-3986
> create keyspace via cassandra cli fails
> ---------------------------------------
>
> Key: CASSANDRA-4085
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4085
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.8
> Environment: Windows 7 x64, Java 7 x64
> Reporter: Frank Hsueh
>
> create keyspace should work. it doesn't. e.g.:
> >>>>
> > cassandra-cli.bat -h localhost -p 9160
> Starting Cassandra Client
> Connected to: "Test Cluster" on localhost/9160
> Welcome to Cassandra CLI version 1.0.8
> Type 'help;' or '?' for help.
> Type 'quit;' or 'exit;' to quit.
> [default@unknown] create keyspace DEMO;
> log4j:WARN No appenders could be found for logger (org.apache.cassandra.config.DatabaseDescriptor).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
> Cannot locate cassandra.yaml
> Fatal configuration error; unable to start server. See log for stacktrace.
> >
> <<<<
> disclaimer: first time bug writer for cassandra so I might not have gotten the various fields right.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-4085) create keyspace via cassandra
cli fails
Posted by "Sasha Dolgy (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238901#comment-13238901 ]
Sasha Dolgy commented on CASSANDRA-4085:
----------------------------------------
works without issue on version 1.0.6 on windows:
E:\development\apache-cassandra-1.0.6\bin>cassandra-cli -h localhost
Starting Cassandra Client
Connected to: "Test Cluster" on localhost/9160
Welcome to Cassandra CLI version 1.0.6
Type 'help;' or '?' for help.
Type 'quit;' or 'exit;' to quit.
[default@unknown] create keyspace foo;
232cf390-7790-11e1-0000-242d50cf1fb5
Waiting for schema agreement...
... schemas agree across the cluster
[default@unknown]
-- and fails with the output Frank noted, with 1.0.8
> create keyspace via cassandra cli fails
> ---------------------------------------
>
> Key: CASSANDRA-4085
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4085
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.8
> Environment: Windows 7 x64, Java 7 x64
> Reporter: Frank Hsueh
>
> create keyspace should work. it doesn't. e.g.:
> >>>>
> > cassandra-cli.bat -h localhost -p 9160
> Starting Cassandra Client
> Connected to: "Test Cluster" on localhost/9160
> Welcome to Cassandra CLI version 1.0.8
> Type 'help;' or '?' for help.
> Type 'quit;' or 'exit;' to quit.
> [default@unknown] create keyspace DEMO;
> log4j:WARN No appenders could be found for logger (org.apache.cassandra.config.DatabaseDescriptor).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
> Cannot locate cassandra.yaml
> Fatal configuration error; unable to start server. See log for stacktrace.
> >
> <<<<
> disclaimer: first time bug writer for cassandra so I might not have gotten the various fields right.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-4085) create keyspace via cassandra
cli fails
Posted by "Nick Bailey (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238904#comment-13238904 ]
Nick Bailey commented on CASSANDRA-4085:
----------------------------------------
Also, you should be able to workaround by modifying the cassandra-cli.bat file to include cassandra.yaml on the classpath when starting the cli.
> create keyspace via cassandra cli fails
> ---------------------------------------
>
> Key: CASSANDRA-4085
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4085
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.8
> Environment: Windows 7 x64, Java 7 x64
> Reporter: Frank Hsueh
>
> create keyspace should work. it doesn't. e.g.:
> >>>>
> > cassandra-cli.bat -h localhost -p 9160
> Starting Cassandra Client
> Connected to: "Test Cluster" on localhost/9160
> Welcome to Cassandra CLI version 1.0.8
> Type 'help;' or '?' for help.
> Type 'quit;' or 'exit;' to quit.
> [default@unknown] create keyspace DEMO;
> log4j:WARN No appenders could be found for logger (org.apache.cassandra.config.DatabaseDescriptor).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
> Cannot locate cassandra.yaml
> Fatal configuration error; unable to start server. See log for stacktrace.
> >
> <<<<
> disclaimer: first time bug writer for cassandra so I might not have gotten the various fields right.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira