Bulk export of Cassandra column family to CSV

How to export a 50GB column family from Cassandra to a CSV file? I have studied:

1.) Copy ... To is the result in rpc_timeout

2.) Get cassandra output of query results directly to text file - rpc_timeout result

I have manipulated the read and write request timeout values ​​(dse restart everytime) in the cassandra.yaml file without success. How do you export this data to CSV?

+3


source to share


1 answer


Try the robber Brian Hess. Its probably the most user-friendly and user-friendly tool.

https://github.com/brianmhess/cassandra-loader/blob/master/src/main/java/com/datastax/loader/CqlDelimUnload.java



This can become part of the main project.

https://issues.apache.org/jira/plugins/servlet/mobile#issue/CASSANDRA-9048

+2


source







All Articles