ScyllaDB backend with Janus

358 views
Skip to first unread message

Raunak Swarnkar

unread,
Jan 4, 2018, 4:41:35 AM1/4/18
to JanusGraph users
I have Cassandra as my backend to Janus and want to migrate to Scylla. Having issues with configuration, what to specify in storage.backend name. 

Misha Brukman

unread,
Jan 4, 2018, 10:42:21 AM1/4/18
to Raunak Swarnkar, JanusGraph users
ScyllaDB is wire-protocol compatible with Cassandra, so the storage.backend configuration option is the same as for Cassandra.

On Thu, Jan 4, 2018 at 4:41 AM, Raunak Swarnkar <raunak...@gmail.com> wrote:
I have Cassandra as my backend to Janus and want to migrate to Scylla. Having issues with configuration, what to specify in storage.backend name. 

--
You received this message because you are subscribed to the Google Groups "JanusGraph users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/janusgraph-users/7609d3ef-3865-477e-8e75-b10fed547953%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Matan Bendix Shenhav

unread,
Jun 11, 2018, 9:57:48 AM6/11/18
to JanusGraph users

The documentation is a little vague about how to configure a Scylla backend; are there instructions anywhere on how to do this? I imagine it is not exactly the same as for Cassandra.

Also, it is unclear to me where the configuration file is supposed to be placed and how the configuration is selected / activated / reloaded into Janus.


On Thursday, January 4, 2018 at 5:42:21 PM UTC+2, Misha Brukman wrote:
ScyllaDB is wire-protocol compatible with Cassandra, so the storage.backend configuration option is the same as for Cassandra.
On Thu, Jan 4, 2018 at 4:41 AM, Raunak Swarnkar <raunak...@gmail.com> wrote:
I have Cassandra as my backend to Janus and want to migrate to Scylla. Having issues with configuration, what to specify in storage.backend name. 

--
You received this message because you are subscribed to the Google Groups "JanusGraph users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-use...@googlegroups.com.

Jason Plurad

unread,
Jun 11, 2018, 2:04:06 PM6/11/18
to JanusGraph users
Scylla is a drop-in replacement for Cassandra, so yes, the configuration is exactly the same.

Key configuration details:
1. storage.backend: your choice of cql, cassandra, or cassandrathrift. Since Thrift is deprecated, you'll probably want to go with cql. If you choose to go with Thrift, make sure you enable Thrift on your Cassandra/Scylla nodes.
2. storage.hostname: comma separated list of Cassandra/Scylla nodes, localhost is the default.
3. storage.port: defaults to 9042 for CQL, or 9160 for Thrift, so you can leave this out if your nodes use the default.
4a. storage.cql.keyspace: name of the keyspace to use when using storage.backend=cql
4b. storage.cassandra.keyspace: name of the keyspace to use when using storage.backend=cassandra or cassandrathrift.

I'll assume you are using the pre-packaged server distribution, in which case the conf/gremlin-server/gremlin-server.yaml uses the property file conf/gremlin-server/janusgraph-cassandra-es-server.properties. Best to stop the server before making any property file changes.
Reply all
Reply to author
Forward
0 new messages