dcos-cassandra-service icon indicating copy to clipboard operation
dcos-cassandra-service copied to clipboard

plugin support question: Cassandra Lucene Index

Open isaldarriaga opened this issue 8 years ago • 5 comments

Does dcos-cassandra-service works with plugged secondary indexes Stratio's Cassandra Lucene Index?

Any advice on how to integrate both cassandra storage and lucene/elasticsearch indexing/REST API capabilities?

tks

isaldarriaga avatar Nov 22 '16 03:11 isaldarriaga

It doesn't at the moment, but doesn't look too complicated. Looks like the main change would be adding support for copying jars into CASSANDRA_HOME/lib/ at the executors.

nickbp avatar Dec 07 '16 18:12 nickbp

@isaldarriaga You can build your cassandra-lucene-plugin.jar and place it inside the cassandra/lib/ directory, bundle the whole cassandra directory in a .tar.gz, upload it to S3/artifactory/HDFS and set the $EXECUTOR_CASSANDRA_LOCATION to point it to that binary.

verma7 avatar Dec 07 '16 18:12 verma7

@verma7 that presumably requires running a custom local universe (containing a cassandra package with a suitably altered resource.json file), right? Or is that somehow unnecessary?

bpiper avatar Jan 12 '17 00:01 bpiper

@bpiper

Disclaimer: I don't work at Mesosphere and we (at Uber) don't use DC/OS to manage our Cassandra clusters.

I am not sure if you need to create a custom package or how to do it. @gabrielhartmann @nickbp or @mohitsoni can probably comment on this.

verma7 avatar Jan 12 '17 00:01 verma7

Ok, thanks @verma7 . I think this enhancement would definitely benefit some users, since setting up one's own local universe (while possibly a good idea in the long run for security reasons et al) and managing customised Cassandra tarballs is a lot of work just to get an extra JAR in the lib directory.

bpiper avatar Jan 12 '17 04:01 bpiper