Thanks for reply, the problem I was trying to solve is two things count and list of partition keys(users) from cassandra production cluster, I have played around with dsbulk for DSE, so for Apache I thought I can get a list of partition keys from index.db file and remove duplicates which will end up giving me count and list of partition keys (in my case it wrks b/c it has single row per partition)
But I couldn't find a direct way read index.db file On Fri, Feb 8, 2019, 9:07 AM Kenneth Brotman <kenbrot...@yahoo.com.invalid> wrote: > This link > https://www.datastax.com/dev/blog/debugging-sstables-in-3-0-with-sstabledump > explains how to read an SSTable with sstabledump for 3x and sstable2json > for 2.x > > > > Kenneth Brotman > > > > *From:* Ben Slater [mailto:ben.sla...@instaclustr.com] > *Sent:* Thursday, February 07, 2019 1:19 PM > *To:* Cassandra User > *Subject:* Re: How to read the Index.db file > > > > They don’t do exactly what you want but depending on why you are trying to > get this info you might find our sstable-tools useful: > https://github.com/instaclustr/cassandra-sstable-tools > > --- > > *Ben Slater* > *Chief Product Officer* > > <https://www.facebook.com/instaclustr> <https://twitter.com/instaclustr> > <https://www.linkedin.com/company/instaclustr> > > Read our latest technical blog posts here > <https://www.instaclustr.com/blog/>. > > This email has been sent on behalf of Instaclustr Pty. Limited (Australia) > and Instaclustr Inc (USA). > > This email and any attachments may contain confidential and legally > privileged information. If you are not the intended recipient, do not copy > or disclose its content, but please reply to this email immediately and > highlight the error to the sender and then immediately delete the message. > > > > > > On Fri, 8 Feb 2019 at 08:14, Kenneth Brotman <kenbrot...@yahoo.com.invalid> > wrote: > > When you say you’re trying to get all the partition of a particular > SSTable, I’m not sure what you mean. Do you want to make a copy of it? I > don’t understand. > > > > Kenneth Brotman > > > > *From:* Pranay akula [mailto:pranay.akula2...@gmail.com] > *Sent:* Wednesday, February 06, 2019 7:51 PM > *To:* user@cassandra.apache.org > *Subject:* How to read the Index.db file > > > > I was trying to get all the partition of a particular SSTable, i have > tried reading Index,db file i can read some part of it but not all of it , > is there any way to convert it to readable format? > > > > > > Thanks > > Pranay > >