2016-08-12 4 views
2

Gremlin 콘솔이 올바르게 연결되어있는 것으로 보이지만 쿼리 후 "호스트가 적시에 응답하지 않았습니다"라고 응답합니다.DSE 그래프 - 호스트가시기 적절하게 응답하지 않았습니다.

이미 확인 : - remote.yaml - netstat --listen | 그렙 8182 (아무것도 반환)

그렘린 라인 :

plugin activated: tinkerpop.tinkergraph 
plugin activated: tinkerpop.server 
plugin activated: tinkerpop.utilities 
gremlin> :remote connect tinkerpop.server conf/remote.yaml 
==>Configured localhost/127.0.0.1:8182 
gremlin> :> 1+1 
Host did not respond in a timely fashion - check the server status and submit again. 

스택 추적 :. 당신이 DSE를 설치하면, 그래프 서비스 (로컬 네트워크 인터페이스에서 수신

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:174) 
     at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:228) 
     at org.apache.tinkerpop.gremlin.console.commands.SubmitCommand.execute(SubmitCommand.groovy:41) 
     at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:228) 
     at org.codehaus.groovy.tools.shell.Shell.execute(Shell.groovy:104) 
     at org.codehaus.groovy.tools.shell.Groovysh.super$2$execute(Groovysh.groovy) 
     at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source) 
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
     at java.lang.reflect.Method.invoke(Method.java:498) 
     at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93) 
     at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325) 
     at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1212) 
     at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:132) 
     at org.codehaus.groovy.tools.shell.Groovysh.executeCommand(Groovysh.groovy:259) 
     at org.apache.tinkerpop.gremlin.console.GremlinGroovysh.execute(GremlinGroovysh.groovy:75) 
     at org.codehaus.groovy.tools.shell.Shell.leftShift(Shell.groovy:122) 
     at org.codehaus.groovy.tools.shell.ShellRunner.work(ShellRunner.groovy:95) 
     at org.codehaus.groovy.tools.shell.InteractiveShellRunner.super$2$work(InteractiveShellRunner.groovy) 
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
     at java.lang.reflect.Method.invoke(Method.java:498) 
     at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93) 
     at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325) 
     at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1212) 
     at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:132) 
     at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuper0(ScriptBytecodeAdapter.java:152) 
     at org.codehaus.groovy.tools.shell.InteractiveShellRunner.work(InteractiveShellRunner.groovy:124) 
     at org.codehaus.groovy.tools.shell.ShellRunner.run(ShellRunner.groovy:59) 
     at org.codehaus.groovy.tools.shell.InteractiveShellRunner.super$2$run(InteractiveShellRunner.groovy) 
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
     at java.lang.reflect.Method.invoke(Method.java:498) 
     at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93) 
     at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325) 
     at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1212) 
     at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:132) 
     at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuper0(ScriptBytecodeAdapter.java:152) 
     at org.codehaus.groovy.tools.shell.InteractiveShellRunner.run(InteractiveShellRunner.groovy:83) 
     at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:228) 
     at org.apache.tinkerpop.gremlin.console.Console.<init>(Console.groovy:174) 
     at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:228) 
     at org.apache.tinkerpop.gremlin.console.Console.main(Console.groovy:361) 
gremlin> 

답변

2

예 : 10.xxx, 루프백 127.0.0.1이 아님).

즉, Gremlin Console YAML을 편집하고이를 10.x.x.x로 지정해야합니다.

+1

이 명령은 일반적으로 성공하지만'': remote connect tinkerpop.server conf/remote.yaml' ''명령을 사용한다고해서 연결이되었다는 의미는 아닙니다. 실제 "연결"은 요청을 보내려고 할 때만 설정되므로 오류는 일반적으로 일종의 네트워크 오류 또는 서버 구성 오류를 나타냅니다. –

+0

예, 동의합니다. 감사. – peleitor