Re: org.janusgraph.diskstorage.TemporaryBackendException: Wrote claim for id block


Jason Plurad <plu...@...>
 

http://docs.janusgraph.org/latest/config-ref.html#_ids

I'd suggest trying to increase the ids.block-size, and perhaps adjusting the ids.renew-percentage.

No idea what your graph loading code looks like, but you might want to commit() transactions in smaller batches.

Also check out http://tinkerpop.apache.org/docs/current/tutorials/getting-started/#_loading_data


On Tuesday, September 26, 2017 at 1:35:28 AM UTC-4, Ankur Goel wrote:
Hi,

i have connected Janus to cassandra cluster:

storage.hostname=x.x.x.1,x.x.x.2,x.x.x.3


ids.block-size=10000

storage.batch-loading=true

storage.lock.wait-time=9000

storage.cassandra.read-consistency-level=ONE

storage.cassandra.write-consistency-level=ALL

query.force-index=false

storage.connection-timeout=60000

storage.lock.retries=10


i am inserting vertex in large no through java code: getting below exception:


 2017-09-26 10:55:05,577 WARN  [JanusGraphID(4)(3)[0]] org.janusgraph.diskstorage.idmanagement.ConsistentKeyIDAuthority: Temporary storage exception while acquiring id block - retrying in PT0.6S: {}

 org.janusgraph.diskstorage.TemporaryBackendException: Wrote claim for id block [1, 80001) in PT0.324S => too slow, threshold is: PT0.3S

at org.janusgraph.diskstorage.idmanagement.ConsistentKeyIDAuthority.getIDBlock(ConsistentKeyIDAuthority.java:276)

at org.janusgraph.graphdb.database.idassigner.StandardIDPool$IDBlockGetter.call(StandardIDPool.java:288)

at org.janusgraph.graphdb.database.idassigner.StandardIDPool$IDBlockGetter.call(StandardIDPool.java:255)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)



~AnkurG


Join janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.