【问题标题】:Arangodb - gremling 2.6 :: missing vertex from gremling interfaceArangodb - gremling 2.6 :: gremling 界面中缺少顶点
【发布时间】:2016-08-03 12:42:32
【问题描述】:

我在 gremlin 中找不到顶点,我可以在 Web GUI 中检索:

从 GUI 我过滤为: freebaseid == 68545795554948

从 gremlin 我查询(按属性 wo/key 搜索)为: g.V.has('freebaseid', 68545795554948).next().id

引发异常: javax.script.ScriptException: com.tinkerpop.pipes.util.FastNoSuchElementException

完整的堆栈跟踪:http://pastebin.com/61iPnkBW

相关点: 13:32:19.129 [main] DEBUG com.arangodb.http.HttpManager - [REQ]http-POST: url=http://arango:8529/_api/cursor, headers=null, body={"count":false,"batchSize":20,"options":{},"query":"for i in GRAPH_VERTICES(@graphName , @vertexExample, @options) FILTER i.`freebaseid` \u00 3d\u003d @property0 return i","bindVars":{"property0":68545795554948,"vertexExample":{},"graphName":"mysuperdb","options":{"direction":"any","includeData":true}}}

com.arangodb.blueprints.client.ArangoDBException: org.apache.http.NoHttpResponseException: The target server failed to respond --- cut --- Caused by: org.apache.http.NoHttpResponseException: The target server failed to respond

有人可以帮我弄清楚这里发生了什么吗?

版本:
- ArangoDB:2.7.7
- 小精灵:2.6.0
- 蓝图-arangodb-graph:1.0.14

github上的问题:https://github.com/arangodb/blueprints-arangodb-graph/issues/25

【问题讨论】:

    标签: gremlin arangodb


    【解决方案1】:

    ArangoDB 客户端已失去与服务器的连接(服务器在 300 秒后关闭非活动连接)

    为避免这种情况,您可以通过以下方式增加服务器的“keep-alive-timeout”:

    --server.keep-alive-timeout <big number>
    

    我在 blueprints-arangodb-graph 1.0.15 版中更改了 java 客户端的行为。请更新到这个版本。

    【讨论】:

      猜你喜欢
      • 2013-06-21
      • 2013-06-29
      • 1970-01-01
      • 1970-01-01
      • 2016-03-25
      • 2015-03-29
      • 2015-07-24
      • 2010-10-02
      • 1970-01-01
      相关资源
      最近更新 更多