JanusGraph 的 Gremlin-Console 在哪里找到它的 Tinkerpop-Server 的“conf/remote.yaml”?

问题描述 投票:0回答:1

问题

JanusGraph [Docker-container]Gremlin-Console从哪里得到它的

conf/remote.yaml

我不确定是否为 JanusGraph 的 Gremlin-Server
 连接到相同或正确的 
WebSocket

我怎么知道我正在使用代码连接到同一个
Gremlin-Server

[o.a.t.g.d.ConnectionPool.gremlin-driver-host-scheduler-1] ::    Opening connection pool on Host{address=localhost/127.0.0.1:8182, hostUri=ws://localhost:8182/gremlin}
[o.a.t.g.d.Connection.gremlin-driver-conn-scheduler-1] ::    Created new connection for ws://localhost:8182/gremlin 

繁殖

步骤

  1. 安装Docker
  2. 启动JanusGraph [Docker容器]
    docker run -d -p 8182:8182 janusgraph/janusgraph
  3. 结果
    1. 预期(1个或多个)
      1. Gremlin 文件夹 [对于 Gremlin-Console 和/或 Gremlin-Server]
      2. Gremlin 配置文件 [
        remote.yaml
        conf/
        或任何地方]
      3. remote.yaml
        Configuration-File
        日志中要打印出来的目录
    2. 其实
      1. 找不到 Gremlin 文件夹
      2. 没有找到 Gremlin 配置文件
      3. conf/remote.yaml
        未找到。
        whereis
        (Linux 命令)
        没有返回任何位置
    3. 问题
      1. localhost:8182/gremlin
        是 Gremlin-Server 的默认值吗?
        1. 或者它是 Gremlin 或 JanusGraph 的默认 Gremlin GraphDB 名称?
      2. remote.yaml
        从哪里来?
        1. 为什么会有单独的
          gremlin-server.yaml
          ?是一样的吗?
      3. JanusGraph 的
        tinkerpop.server
        上更详细的文档在哪里?
websocket docker-container janusgraph tinkerpop3 gremlin-server
1个回答
0
投票

没有“gremlin 文件夹”的概念。 JanusGraph 包括 TinkerPop/gremlin,JanusGraph 文件夹是 gremlin 文件夹。

docker exec -it aceffdee582e ls conf
hadoop-graph                    jvm-8.options
janusgraph-berkeleyje-es-server.properties  log4j-console.properties
janusgraph-berkeleyje-lucene-server.properties  log4j-server.properties
janusgraph-berkeleyje-server.properties     logback.xml
janusgraph-cql-es-server.properties     remote-graph-binary.yaml
janusgraph-cql-server.properties        remote-graph.properties
janusgraph-inmemory-server.properties       remote-objects.yaml
janusgraph-server.yaml              remote.yaml
jvm-11.options                  solr
© www.soinside.com 2019 - 2024. All rights reserved.