Pra*_*r K 5 amazon-web-services amazon-dynamodb gremlin titan
我通过 gremlin groovy shell 连接到远程 gremlin 服务器。连接成功。但对于我尝试执行的任何远程命令,它都会出现超时错误。即使是为了指挥:> 1+1
gremlin> :remote connect tinkerpop.server conf/senthil.yaml
==>Connected - 10.40.40.65/10.40.40.65:50080
gremlin> :> 1+1
Host did not respond in a timely fashion - check the server status and submit again.
Display stack trace? [yN]
org.apache.tinkerpop.gremlin.groovy.plugin.RemoteException: Host did not respond in a timely fashion - check the server status and submit again.
at org.apache.tinkerpop.gremlin.console.groovy.plugin.DriverRemoteAcceptor.submit(DriverRemoteAcceptor.java:120)
at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:215)
at org.apache.tinkerpop.gremlin.console.commands.SubmitCommand.execute(SubmitCommand.groovy:41)
at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:215)
at org.codehaus.groovy.tools.shell.Shell.execute(Shell.groovy:101)
at org.codehaus.groovy.tools.shell.Groovysh.super$2$execute(Groovysh.groovy)
at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
Run Code Online (Sandbox Code Playgroud)
这是我的conf文件:remote.yaml
hosts: [10.40.40.65]
port: 50080
serializer: { className: org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV1d0, config: { serializeResultToString: true }}
Run Code Online (Sandbox Code Playgroud)
我正在使用 dynamodb + titan。
您可能没有真正成功的联系。控制台(和底层驱动程序)是乐观的,因为它实际上不会在发送请求之前使连接失败,因为它预计服务器可能“稍后”上线。我会回去调查服务器是否正在运行,如果你有正确的IP,如果属性host没有设置为“localhost”之类的东西,如果你正在远程连接,如果端口打开,你正在使用兼容的版本TinkerPop 等
| 归档时间: |
|
| 查看次数: |
3053 次 |
| 最近记录: |