J
JanusGraph•10mo ago
rydbirkjr

JanusGraph fails on initial startup (cql-es)

Hi all, I have a problem that's been popping up once in a while regarding only the initial startup of Cassandra/ES/JanusGraph. Sometimes it fails with "table edgestore doesn't exist", or "table janusgraph_ids doesn't exist". However, if I restart the JG pod, it completes. To me, it sounds like some sort of race condition. There's a thread for JG 0.6.0 with the same error: https://lists.lfaidata.foundation/g/janusgraph-users/topic/unconfigured_table_exceptions/85741983?p=,,,20,0,0,0::recentpostdate/sticky,,,20,2,0,85741983,previd=1634849714017760765,nextid=1631631322121685927&previd=1634849714017760765&nextid=1631631322121685927 I'm just surprised it still exists? Is there a good fix (I don't think the thread above gives a consistent solution)? For reference, I'm using: janusgraph/janusgraph:1.0.0-20230805-060925.b584085 cassandra:4.0.10 docker.elastic.co/elasticsearch/elasticsearch:7.17.10 To make matters worse, this issue only seem to happen in low-resource hardware. I cannot reproduce locally on my M1 machine, but it happens consistently in a github actions-workflow that spins up a docker-compose with ES, Cassandra and JG. I can share if interested.
3 Replies
porunov
porunov•10mo ago
Have you tried increasing advanced.metadata.schema.debouncer.window as described in that thread? This is related to how CQL driver works for schema updates. You either make schema creation process faster by setting that config to 0 (i.e. default in JanusGraph), or you increase that setting which will make schema creation longer but will give other nodes enough time to fetch the new schema.
rydbirkjr
rydbirkjr•10mo ago
No honestly I hadn't. I struggled a bit with figuring out the formatting and which property to set, however it seems that adding it as:
janusgraph.storage.cql.internal.string-configuration=datastax-java-driver { advanced.metadata.schema.debouncer.window = 1 second }
janusgraph.storage.cql.internal.string-configuration=datastax-java-driver { advanced.metadata.schema.debouncer.window = 1 second }
As an environment config for JG resolves the issue I'll try it out a couple of times over the next 24h 🙂
Bo
Bo•10mo ago
FWIW, It's always been a problem with Amazon keyspace, where table creation always takes a long time (around 10 seconds). The mitigation is simply to retry until all tables have been successfully built.
Want results from more Discord servers?
Add your server
More Posts
Exhaust all paths between two or more verticesIs there some way to go on a path finding mission with repeat().until() type construct that avoids tStandard way of restructuring of existing dataHi folks we have usecase where we would like to restructure data present in a graph, for example we Find all paths between two verticesNot sure this makes any sense, but here goes. Could someone please provide a solution to how one wouIs there a way to access the management from gremlin remote console?mostly i need to be able to create vertex and edge labels dynamically from gremlin, is it posible?What configuration i can use for the root.schema.default?i know it's supposed to use "None" so it will require a schema, but in my use case i need a schema mJanusGraph Instance startup failure due to id block allocationHi Everyone, I'm trying to startup janusgraph instance after setting up the properties for authenticStoring large temporal data in janusgraphHi folks, we have a requirement to store around 100M events per day for last 1 year, mainly temporalData Storage wit TTLHi Everyone, We have a requirement in which we have to store around ~80 million records daily in ourERROR org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor - Could not invoke constructorCould not invoke constructor on class org.janusgraph.graphdb.management.JanusGraphManager (defined bMultiple Graphs with Embedded JanusGraphHello!! I am using embedded Janusgraph (embedded JanusGraph as a library inside my Java Application