incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timo Nentwig <timo.nent...@toptarif.de>
Subject CQL/JDBC: Cannot locate cassandra.yaml
Date Sun, 05 Jun 2011 14:26:51 GMT
$ CLASSPATH=~/sqlshell/lib/ ~/sqlshell/bin/sqlshell org.apache.cassandra.cql.jdbc.CassandraDriver,jdbc:cassandra:foo/bar@localhost:9160/ks

2011-06-05 16:21:54,452 INFO  [main] org.apache.cassandra.cql.jdbc.Connection - Connected
to localhost:9160
2011-06-05 16:21:54,517 ERROR [main] org.apache.cassandra.config.DatabaseDescriptor - Fatal
configuration error
org.apache.cassandra.config.ConfigurationException: Cannot locate cassandra.yaml
	at org.apache.cassandra.config.DatabaseDescriptor.getStorageConfigURL(DatabaseDescriptor.java:111)
	at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:121)
	at org.apache.cassandra.config.CFMetaData.fromThrift(CFMetaData.java:642)
	at org.apache.cassandra.cql.jdbc.ColumnDecoder.<init>(ColumnDecoder.java:61)
	at org.apache.cassandra.cql.jdbc.Connection.execute(Connection.java:142)
	at org.apache.cassandra.cql.jdbc.Connection.execute(Connection.java:124)
	at org.apache.cassandra.cql.jdbc.CassandraConnection.<init>(CassandraConnection.java:83)
	at org.apache.cassandra.cql.jdbc.CassandraDriver.connect(CassandraDriver.java:86)
	at org.clapper.sqlshell.DatabaseConnector.connectJDBC(connector.scala:249)
	at org.clapper.sqlshell.DatabaseConnector.connect(connector.scala:175)
	at org.clapper.sqlshell.SQLShell.<init>(SQLShell.scala:168)
	at org.clapper.sqlshell.tool.Tool$.main(tool.scala:96)
	at org.clapper.sqlshell.tool.Tool.main(tool.scala)
Cannot locate cassandra.yaml
Fatal configuration error; unable to start server.  See log for stacktrace.

And BTW how do I specify no user/password? Looking at the code I maybe could type a plain
slash but
that's kind of silly.

Mime
View raw message