1

I have launched an aws neptune instance and installed apache-tinkerpop-gremlin-console version 3.3.3 on windows 10 machine.

neptune-remote.yml looks like:

hosts: [abc-nept.XXXXXX.us-XXXX-1.neptune.amazonaws.com]
port: 8182
serializer: { className: org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV3d0, config: { serializeResultToString: true }}

after running gremlin.bat next command is:

:remote connect tinkerpop.server conf/neptune-remote.yaml

Now at this stage I am able to make queries and those are working! So question is how can I check whether I am actually connected to aws neptune instance or not?

4

1 回答 1

3

我假设您的问题与:remote配置多个实例有关。显然,如果您只是创建了:

:remote connect tinkerpop.server conf/neptune-remote.yaml

那么你的数据唯一可能去往或来自的地方就是海王星。控制台确实允许:remote您可以在多个实例之间切换,因此如果您也有一个用于本地 Gremlin 服务器的实例,那么您可能需要确认您正在发送哪个请求。你只需这样做:

gremlin> :remote
==>Remote - Gremlin Server - [localhost/127.0.0.1:8182]

您将能够看到“当前” :remote,从而知道它是用于 Neptune 还是您本地的 Gremlin 服务器实例。

于 2018-07-15T10:30:10.077 回答