[BUG] GIE: invalid gremlin script exception #2305
Unanswered
sighingnow
asked this question in
Q&A
Replies: 3 comments
-
|
The error message is shown as expected on client side: 2022-12-01 15:12:06,135 [ERROR][rpc:186]: Runstep failed with code: INTERACTIVE_ENGINE_INTERNAL_ERROR, message: Error occurred during RunStep, The traceback is: Traceback (most recent call last):
File "/home/graphscope/.local/lib/python3.8/site-packages/gscoordinator/coordinator.py", line 294, in _RunStep
head, bodies = self._operation_executor.run_on_interactive_engine(
File "/home/graphscope/.local/lib/python3.8/site-packages/gscoordinator/monitor.py", line 210, in runOnInteractiveEngineWarp
res = func(instance, dag_def)
File "/home/graphscope/.local/lib/python3.8/site-packages/gscoordinator/op_executor.py", line 416, in run_on_interactive_engine
op_result = self._gremlin_to_subgraph(op)
File "/home/graphscope/.local/lib/python3.8/site-packages/gscoordinator/op_executor.py", line 665, in _gremlin_to_subgraph
gremlin_client.submit(
File "/usr/lib/python3.8/concurrent/futures/_base.py", line 444, in result
return self.__get_result()
File "/usr/lib/python3.8/concurrent/futures/_base.py", line 389, in __get_result
raise self._exception
File "/home/graphscope/.local/lib/python3.8/site-packages/gremlin_python/driver/resultset.py", line 90, in cb
f.result()
File "/usr/lib/python3.8/concurrent/futures/_base.py", line 437, in result
return self.__get_result()
File "/usr/lib/python3.8/concurrent/futures/_base.py", line 389, in __get_result
raise self._exception
File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/graphscope/.local/lib/python3.8/site-packages/gremlin_python/driver/connection.py", line 83, in _receive
status_code = self._protocol.data_received(data, self._results)
File "/home/graphscope/.local/lib/python3.8/site-packages/gremlin_python/driver/protocol.py", line 138, in data_received
raise GremlinServerError(message['status'])
gremlin_python.driver.protocol.GremlinServerError: 597: query [g.V().outE().endV().path().limit(10).subgraph('subgraph-20221201151206-9556858')] is invalid, check the grammar in GremlinGS.g4, message: org.antlr.v4.runtime.misc.ParseCancellationException, stacktrace: org.antlr.v4.runtime.misc.ParseCancellationException
at com.alibaba.graphscope.gremlin.plugin.script.AntlrToJavaScriptEngine$1.syntaxError(AntlrToJavaScriptEngine.java:76)
at org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:41)
at org.antlr.v4.runtime.Lexer.notifyListeners(Lexer.java:364)
at org.antlr.v4.runtime.Lexer.nextToken(Lexer.java:144)
at org.antlr.v4.runtime.BufferedTokenStream.fetch(BufferedTokenStream.java:169)
at org.antlr.v4.runtime.BufferedTokenStream.sync(BufferedTokenStream.java:152)
at org.antlr.v4.runtime.BufferedTokenStream.consume(BufferedTokenStream.java:136)
at org.antlr.v4.runtime.Parser.consume(Parser.java:571)
at org.antlr.v4.runtime.Parser.match(Parser.java:203)
at org.apache.tinkerpop.gremlin.language.grammar.GremlinGSParser.chainedTraversal(GremlinGSParser.java:427)
at org.apache.tinkerpop.gremlin.language.grammar.GremlinGSParser.rootTraversal(GremlinGSParser.java:350)
at org.apache.tinkerpop.gremlin.language.grammar.GremlinGSParser.query(GremlinGSParser.java:231)
at com.alibaba.graphscope.gremlin.plugin.script.AntlrToJavaScriptEngine.eval(AntlrToJavaScriptEngine.java:83)
at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:233)
at org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor.lambda$eval$0(GremlinExecutor.java:272)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750) |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
coordinator log file |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
Beta Was this translation helpful? Give feedback.
All reactions