rydbirkjr
rydbirkjr
JJanusGraph
Created by rydbirkjr on 8/8/2023 in #questions
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.
7 replies
JJanusGraph
Created by rydbirkjr on 6/27/2023 in #questions
Upgrading from 0.6 to 1.0.0-20230626 caused indexes to disappear
Hi all, I tried to upgrade from 0.6 to 1.0.0-20230626 yesterday, and I ran into some issues. All of the existing indexes was gone after the upgrade. My setup is cql-es, using cassandra 3.11.6 and ES 7.16.2. If I recall correctly, the graph used to contain around 10 CompositeIndexes. Is this a known issue? Should I simply rebuild the indexes? I've posted the (reduced) output of mgmt.printSchema() below.
---------------------------------------------------------------------------------------------------
Graph Index (Vertex) | Type | Unique | Backing | Key: Status |
---------------------------------------------------------------------------------------------------
Graph_Name_Index | Composite | true | internalindex | graph.graphname: ENABLED |
Template_Index | Composite | false | internalindex | Template_Configuration: ENABLED |
Created_Using_Template_Index | Composite | false | internalindex | Created_Using_Template: ENABLED |
---------------------------------------------------------------------------------------------------
Graph Index (Edge) | Type | Unique | Backing | Key: Status |
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
Relation Index (VCI) | Type | Direction | Sort Key | Order | Status |
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
Graph Index (Vertex) | Type | Unique | Backing | Key: Status |
---------------------------------------------------------------------------------------------------
Graph_Name_Index | Composite | true | internalindex | graph.graphname: ENABLED |
Template_Index | Composite | false | internalindex | Template_Configuration: ENABLED |
Created_Using_Template_Index | Composite | false | internalindex | Created_Using_Template: ENABLED |
---------------------------------------------------------------------------------------------------
Graph Index (Edge) | Type | Unique | Backing | Key: Status |
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
Relation Index (VCI) | Type | Direction | Sort Key | Order | Status |
---------------------------------------------------------------------------------------------------
8 replies