Making janus graph client to not use QUORUM


Hi All,

I am trying to create nodes in graph and while reading created node id i am getting below exception:

org.janusgraph.diskstorage.TemporaryBackendException: Temporary failure in storage backend at io.vavr.API$Match$Case0.apply(

at io.vavr.API$Match.of(

at org.janusgraph.diskstorage.cql.CQLKeyColumnValueStore.lambda$static$0(

at io.vavr.control.Try.getOrElseThrow(

at org.janusgraph.diskstorage.cql.CQLKeyColumnValueStore.getSlice(

at org.janusgraph.diskstorage.configuration.backend.KCVSConfiguration$

at org.janusgraph.diskstorage.configuration.backend.KCVSConfiguration$

at org.janusgraph.diskstorage.util.BackendOperation.execute(

at org.janusgraph.diskstorage.util.BackendOperation$

at org.janusgraph.diskstorage.util.BackendOperation.executeDirect(

... 26 more

Caused by: com.datastax.driver.core.exceptions.ReadTimeoutException: Cassandra timeout during read query at consistency QUORUM (3 responses were required but only 2 replica responded)

I am trying to update janus client to not use QUORUM but LOCAL_ONE.  Setting below property but its not working.


JanusGraphFactory.Builder configProps =;      configProps.set("", “LOCAL_ONE”);


In CQLTransaction class i see its getting set by reading value from CustomOption

public CQLTransaction(final BaseTransactionConfig config) {
this.readConsistencyLevel = ConsistencyLevel.valueOf(getConfiguration().getCustomOption(READ_CONSISTENCY));
this.writeConsistencyLevel = ConsistencyLevel.valueOf(getConfiguration().getCustomOption(WRITE_CONSISTENCY));

I did tied  seeing value by using customOption() method of TransactionBuilder but no luck.


GraphTraversalSource g = janusGraph.buildTransaction()


Could you please help me to fix it?

Thanks & Regards,



Hi Anjani,

To see what exactly happens with local configurations, I did the following:
  • from the binary janusgraph distribution I started janusgraph with "bin/ start" (this implicitly uses conf/
  • I made a copy of conf/ in which I added your
  • In gremlin console I ran the code below (using JanusGraph in an embedded way, no remote connection):
graph ='conf/')
conf = graph.getConfiguration().getLocalConfiguration()
ks = conf.getKeys(); null;
while (ks.hasNext()) {
  k =
  System.out.print(String.format("%30s: %s\n", k, conf.getProperty(k)))
With printed output:
              storage.hostname: LOCAL_ONE
                cache.db-cache: true
          storage.cql.keyspace: janusgraph
               storage.backend: cql
           cache.db-cache-size: 0.25
                 gremlin.graph: org.janusgraph.core.JanusGraphFactory

Can you do the same printing of configurations on the client that shows the exception about the QUORUM?
In this way, we can check whether the problem is in your code or in JanusGraph not properly passing the  local configurations.

Best wishes,    Marc


Thanks Marc, i will try that option.