Skip to content

V2: ArangoDB & Janusgraph : IllegalArgumentException: Vertex Label with given name does not exist: person #27

Description

@lucassardois

Hello,

When working on the air-routes.json both arangodb & janusgraph crash on the query NNoutgoingUniqueLabel.
Logs for arrangodb:

...
15:09:26| INFO     - Current query is com.graphbenchmark.queries.vldbj.NodePathLabelSearch                                                                                                                                                   
15:09:26| INFO     - Current mode is SINGLE_SHOT                                                                                                                                                                                             
15:09:26| DEBUG    - []                                                                                                                                                                                                                      
15:09:26| INFO     - Current mode is SINGLE_SHOT                                                                                                                                                                                             
15:09:26| DEBUG    - []                                                                                                                                                                                                                      
15:09:26| INFO     - Current mode is SINGLE_SHOT                                                                                                                                                                                             
15:09:26| DEBUG    - []                                                                                                                                                                                                                      
15:09:26| INFO     - Current query is com.graphbenchmark.queries.MixCountInsertSchema                                                                                                                                                        
15:09:26| INFO     - Current mode is SINGLE_SHOT                                                                                                                                                                                             
15:09:26| DEBUG    - [{}]                                                                                                                                                                                                                    
15:09:30| ERROR    - Error in query. Code: 1                                                                                                                                                                                                 
15:09:30| CRITICAL - [ARANGODB-INIT] starting over with existing database
[ARANGODB-INIT] Will try to enable NUMA interleave on all nodes...
[ARANGODB-INIT] error: cannot use numactl, if you are sure that it is supported by your hardware and system, please check that container is running with --security-opt seccomp=unconfined                                                   
[ARANGODB-INIT] Arango up in 2 seconds
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
java.lang.IllegalArgumentException: Vertex label (person) not in graph (MAIN_GRAPH) vertex collections.
        at com.arangodb.tinkerpop.gremlin.structure.ArangoDBGraph.addVertex(ArangoDBGraph.java:628)
        at com.graphbenchmark.queries.MixCountInsertSchema.lambda$query$0(MixCountInsertSchema.java:57)
        at com.graphbenchmark.common.RetryTransactionCtx.retry(RetryTransactionCtx.java:31)
        at com.graphbenchmark.queries.MixCountInsertSchema.query(MixCountInsertSchema.java:44)
        at com.graphbenchmark.queries.MixCountInsertSchema.query(MixCountInsertSchema.java:20)
        at com.graphbenchmark.common.GenericQuery._execute(GenericQuery.java:41)
        at com.graphbenchmark.common.GenericQuery.execute(GenericQuery.java:31)
        at com.graphbenchmark.common.GenericShell.lambda$exec_one_shot$2(GenericShell.java:204)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:830)

15:09:30| CRITICAL - Irrecoverable error

Logs for janusgraph:

...
10:05:54| INFO     - Current query is com.graphbenchmark.queries.MixCountInsertSchema                                                                                                                                                         
10:05:54| INFO     - Current mode is SINGLE_SHOT                                                                                                                                                                                              
10:05:54| DEBUG    - [{}]                                                                                                                                                                                                                     
10:06:15| ERROR    - Error in query. Code: 1 
java.lang.IllegalArgumentException: Vertex Label with given name does not exist: person
        at org.janusgraph.graphdb.types.typemaker.DisableDefaultSchemaMaker.makeVertexLabel(DisableDefaultSchemaMaker.java:52)                                                                                                               
        at org.janusgraph.graphdb.transaction.StandardJanusGraphTx.getOrCreateVertexLabel(StandardJanusGraphTx.java:1068)                                                                                                                    
        at org.janusgraph.graphdb.tinkerpop.JanusGraphBlueprintsTransaction.addVertex(JanusGraphBlueprintsTransaction.java:117)                                                                                                              
        at org.janusgraph.graphdb.tinkerpop.JanusGraphBlueprintsGraph.addVertex(JanusGraphBlueprintsGraph.java:141)
        at org.janusgraph.graphdb.tinkerpop.JanusGraphBlueprintsGraph.addVertex(JanusGraphBlueprintsGraph.java:59)
        at com.graphbenchmark.queries.MixCountInsertSchema.lambda$query$0(MixCountInsertSchema.java:57)
        at com.graphbenchmark.common.RetryTransactionCtx.retry(RetryTransactionCtx.java:31)
        at com.graphbenchmark.queries.MixCountInsertSchema.query(MixCountInsertSchema.java:44)
        at com.graphbenchmark.queries.MixCountInsertSchema.query(MixCountInsertSchema.java:20)
        at com.graphbenchmark.common.GenericQuery._execute(GenericQuery.java:41)
        at com.graphbenchmark.common.GenericQuery.execute(GenericQuery.java:31)
        at com.graphbenchmark.common.GenericShell.lambda$exec_one_shot$2(GenericShell.java:204)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)

Both errors seems to point to the same issue. Queries try to found a vertex with a label person wich does not exists in the air-routes.json dataset (wich exists only in the tinkerpop_modern.json dataset).

The same queries does not crash for others databases system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions