Using Spark with JansuGraph on a Cassandra storage backend
Hello there!!
Hope you are having an awesome day. I am trying to use OLAP query for my janusgraph setup. I am using Cassandra for storing graph, but I am using our own defined custom storage backend class. I think that graph is created without using my storage backend.
Can you please help me figure out what is wrong ?
I am creating the graph using the following code.
6 Replies
The current error message is
I have added the complete stack trace in the file
You should use
cql
for janusgraphmr.ioformat.conf.storage.backend
NOTE: the default CQLStoreManager
or your custom CompanyCassandraStoreManager
has nothing to do with OLAP.
OLAP relies on Cassandra's official cassandra-hadoop-util
package which defines how to partition and read Cassandra data in parallel.Thanks @boxuanli for helping !!
1. I changed the backend to cql, but still getting the same issue. Do I need some additional configurations ?
2. The
CompanyCassandraStoreManager
allows us to create connection with our Cassandra. Our OLTP janusgraph is working with this storage backend. It contains the details regarding how we are going to connect with Cassandra (especially it contains the Cassandra Managed which is used to manage Cassandra client along with taking care of Authentication).
Can I not use this storage backend and I should specify the hostname and port as shown in the example(https://docs.janusgraph.org/advanced-topics/hadoop/) ?Can I not use this storage backendNo you cannot use it
I should specify the hostname and portYes
How do we support authentication to the cassandra ? Do we also take password as a parameter ?
Stack Overflow
Janusgraph OLAP traversal - Connection with cassandra using trussto...
We have a working setup of Janusgraph 0.5.2 version where we are able to insert and query (OLTP) the data as per need.
We are exploring JanusGraph OLAP traversal for some reporting and analytical