[
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