Import cassandra ssstable db to hdfs via apache spark

Viewed 8

We have use cases that involve importing daily the snapshot files from cassandra (db files) on to HDFS.

The file sizes can be anywhere from 200GB-1 TB and ideally we'd like to do the processing on hdfs instead of a single machine/server.

I have looked into sstabledump that allows this use case, but has the following issues:

  1. It looks like it would run on a single machine which might end up being very slow depending on the number and size of db files
  2. The consistency of data in the db file would be of concern- the cassandra is a 3 node cluster setup, and there are chances of a single record persisting across various db files

Ideally, we'd love to have a plugin/sdk that is able to read the db files directly from apache spark df api, whilst taking care of data redundancy and integration

Questions

  1. Is such a connection via apache spark possible?
  2. If not,is there a better way to approach is problem using sstableudmp - for eg- a mode that gets ride of duplicate data across various db files?
  3. Are there any tools except sstabledump that are better suited for this?
0 Answers
Related