cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Duncan Sands <duncan.sa...@gmail.com>
Subject Re: unable to load data using sstableloader
Date Tue, 29 Jul 2014 07:27:46 GMT
Hi Akshay,

On 29/07/14 09:14, Akshay Ballarpure wrote:
> Yes,
> I have created keyspaces, but still i am getting error.
>
> cqlsh:sample_new> DESCRIBE KEYSPACES ;
>
> system  sample  mykeyspace  test *sample_new* system_traces
>
> [root@CSL-simulation conf]# ../bin/sstableloader
> /root/Akshay/Cassandra/apache-cassandra-2.0.8/conf/SAMPLE_NEW/DATA_NEW/  -d
> localhost --debug
> Could not retrieve endpoint ranges:
> InvalidRequestException(why:No such keyspace: *SAMPLE_NEW*)

here SAMPLE_NEW is in upper case, while describe keyspaces showed it lower case, 
sample_new.  Try using quote marks:

   CREATE KEYSPACE "SAMPLE_NEW" ...

Ciao, Duncan.

Mime
View raw message