Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hugegraph-studio 异常请教 #58

Open
alegjk opened this issue Mar 26, 2019 · 2 comments
Open

hugegraph-studio 异常请教 #58

alegjk opened this issue Mar 26, 2019 · 2 comments

Comments

@alegjk
Copy link

alegjk commented Mar 26, 2019

请教个问题, 我们的图谱里目前有2500W顶点, 5000W+的边, 目前有个场景, 我们统计了仅包含了2个顶点的子图, 然后将这些顶点调用Restful接口进行了删除, 在删除的过程中, 我们使用了HugeStudio查看一些顶点的基本情况,发现hugegStudio直接报错"fail to do the request.", 查看HugeGraph-Server的日志, 发现如下异常:
请教下, 这个异常是怎么触发的呢? 我们应该在日常的图谱功能开发、运维过程中注意哪些细节, 非常感谢!!!

2019-03-26 18:43:42 99932219 [gremlin-server-exec-11] [WARN ] org.apache.tinkerpop.gremlin.server.handler.HttpGremlinEndpointHandler [] - Invalid request - responding with 500 Internal Server Error and Error encountered evaluating script: g.V("XXXXXXXXX").count()
org.apache.tinkerpop.gremlin.process.traversal.util.TraversalInterruptedException: null
	at org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep.hasNext(AbstractStep.java:142) ~[gremlin-core-3.2.5.jar:3.2.5]
	at org.apache.tinkerpop.gremlin.process.traversal.util.DefaultTraversal.hasNext(DefaultTraversal.java:192) ~[gremlin-core-3.2.5.jar:3.2.5]
	at org.apache.tinkerpop.gremlin.util.iterator.IteratorUtils.fill(IteratorUtils.java:62) ~[gremlin-core-3.2.5.jar:3.2.5]
	at org.apache.tinkerpop.gremlin.util.iterator.IteratorUtils.list(IteratorUtils.java:85) ~[gremlin-core-3.2.5.jar:3.2.5]
	at org.apache.tinkerpop.gremlin.util.iterator.IteratorUtils.asList(IteratorUtils.java:382) ~[gremlin-core-3.2.5.jar:3.2.5]
	at org.apache.tinkerpop.gremlin.server.handler.HttpGremlinEndpointHandler.lambda$channelRead$1(HttpGremlinEndpointHandler.java:239) ~[gremlin-server-3.2.5.jar:3.2.5]
	at org.apache.tinkerpop.gremlin.util.function.FunctionUtils.lambda$wrapFunction$0(FunctionUtils.java:36) ~[gremlin-core-3.2.5.jar:3.2.5]
	at org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor.lambda$eval$2(GremlinExecutor.java:320) ~[gremlin-groovy-3.2.5.jar:3.2.5]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_161]
	at com.baidu.hugegraph.auth.HugeGraphAuthProxy$ContextTask.run(HugeGraphAuthProxy.java:282) [hugegraph-api-0.8.0.jar:0.31.0.0]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_161]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_161]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_161]
@javeme
Copy link

javeme commented Mar 27, 2019

@hklmuaqmn 这个错误是因为超时了,一般是删除的数据太多,比如删除的顶点太多,或被删除的顶点拥有很多边。请使用异步任务来执行长时间的操作。

@github-actions
Copy link

Due to the lack of activity, the current issue is marked as stale and will be closed after 20 days, any update will remove the stale label

@imbajin imbajin transferred this issue from apache/incubator-hugegraph Jan 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants