How to use Apache drill with Cassandra

I am trying to query Cassandra using Apache Drill. The only connector I could find is here: http://www.confusedcoders.com/bigdata/apache-drill/sql-on-cassandra-querying-cassandra-via-apache-drill

However, this is not being built. An artifact that is not found appears in it. I also had another developer who is more versed in these tools, but he was also unlucky.

I tried to contact the plugin developer that I linked to, but the blog is not working and will not allow me to post comments. Has anyone got this plugin to work (if so?) Or is there another plugin or method that I can use to connect the apache drill to Cassandra? . If anyone can show me how to hook up executing a simple SQL query that would be much appreciated.

+8
source share
2 answers

I looked at the latest patch for the Cassandra plugin and the latest Apache drilling source. The drilling code has changed and the patch can no longer be applied. Then I manually deleted the patch (this is the identifier, mainly for output). Most of the patches were new classes that I could easily add to the last tree of the drilling tree. Most of the other updates were easy to insert into the current source. There were two specific classes that required some minor code modifications / extensions. I rebuilt the distribution from a modified source and installed the drill servers on a 3 node cluster. The Cassandra schema could not be initialized by correctly throwing a null pointer exception from one of the new classes. This makes me think that the (last) modified storage module is not compatible with the latest version of Cassandra. Since the author of the original storage plugin is unavailable, and no one else activates code support, this is a dead horse. Beat him if you need to.

+4
source

I was the author of a patch written a year ago. Failed to get him to merge with Drill, and then do other things: (

With so many changes to Drill's internal parts, I'm not sure how much welding will be needed at this point to make it work. Please use the code only as a link to write a Drill Drilling Plugin.

Add this banner on top of your blog post to save developers hours. enter image description here

+3
source

Source: https://habr.com/ru/post/989651/


All Articles