cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alain RODRIGUEZ <arodr...@gmail.com>
Subject Re: A question to sstable2json
Date Mon, 19 Sep 2016 13:17:05 GMT
Hi,

Have you solved this issue? Sorry we did not answered you earlier.

Is it a bug of Cassandra 2.1.11


Not that I am aware of.

or I misused this command?


What does your command look like? I could try it locally if that helps.

C*heers,
-----------------------
Alain Rodriguez - @arodream - alain@thelastpickle.com
France

The Last Pickle - Apache Cassandra Consulting
http://www.thelastpickle.com


2016-09-08 5:02 GMT+02:00 Lu, Boying <Boying.Lu@dell.com>:

> Hi, All,
>
>
>
> We use Cassandra 2.1.11 in our product and I tried its sstable2json to
> dump some sstable file like this:
>
> sstable2json full-path-to-sstable-file (e.g. xxx-Data.db).
>
>
>
> But I got an assert error at  “assert initialized ||
> keyspaceName.equals(SYSTEM_KS);” (Keyspace.java:97).
>
> The 'keyspaceName' is our keyspace, but the SYSTEM_KS is "system" (defined
> inside Keyspace class).
>
>
>
> This error is related to the following statement in SSTableExport.java:
>
>         Keyspace keyspace = Keyspace.open(descriptor.ksname); (
> SSTableExport.java:432)
>
>
>
> Adding "Keyspace.setInitialized()" before this statement solves the issue.
>
>
>
> Is it a bug of Cassandra 2.1.11 or I misused this command?
>
>
>
> Thanks
>
>
>
> Boying
>
>
>

Mime
View raw message