【问题标题】:Datastax dse graph installationDatastax dse 图安装
【发布时间】:2017-05-21 16:54:45
【问题描述】:

我正在 ubuntu 机器上试验 Datastax Dse 5.0.5 图。

我最感兴趣的是 Datastax 企业包的图形部分

我已经在不同的终端上执行了以下这些命令

  • ./bin/dse cannandra
  • ./bin/dse gremlin-console
  • ./datastax-studio/bin/server.sh

我可以在 localhost 成功启动 datastax-studio,但出现此错误

All DSE gremlin server hosts are currently down or don't have the 'graph' workload set. Please, make sure that hosts are available and have the 'graph' workload and retry

我想做的是

我想使用 java 程序创建顶点和边,并希望在 datastax-studio 上将其可视化。

为此,我已经按照 dse 文档编写了 java 程序,但我很困惑应该在哪个端口将我的数据库连接到数据库,甚至我不确定我是否真的走上了正确的道路。

能否指导我正确安装dse graph和studio?

【问题讨论】:

    标签: cassandra datastax datastax-enterprise datastax-java-driver datastax-enterprise-graph


    【解决方案1】:

    ./bin/dse cassandra 将仅启动 Cassandra 工作负载。

    因为看起来你正在使用 tarball 安装

    ./bin/dse cassandra -g 将以图形模式启动 DSE

    你也可以这样做:

    ./bin/dse cassandra -s -g 启用 Graph 或 Cassandra 中的模糊/文本/地理空间搜索的搜索功能

    ./bin/dse cassandra -k -g 使 Spark 能够对 Cassandra 数据运行 OLAP 样式遍历和 Spark 分析

    ./bin/dse cassandra -s -k -g 启用所有工作负载类型以便于实验。

    有关详细信息,请参阅: https://docs.datastax.com/en/datastax_enterprise/5.0/datastax_enterprise/admin/startDseStandalone.html

    【讨论】:

    • 感谢您的回答
    • 但是如何解决这个错误All DSE gremlin server hosts are currently down or don't have the 'graph' workload set. Please, make sure that hosts are available and have the 'graph' workload and retry
    【解决方案2】:

    转到以下链接(如果您安装了没有服务的 DSE):-

    /usr/share/dse/resources/graph/gremlin-console/conf

    或转到保存 remote.yaml 文件的路径。

    然后检查/配置设置:-

    hosts: [127.0.0.1]
    port: 8182
    serializer: { className: org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV1d0,
                  config: { serializeResultToString: true, ioRegistries: [org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerIoRegistry] }}
    connectionPool: {
      maxContentLength: 65536000
    }
    

    检查您的主机和端口。然后停止并重新启动 dse。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2023-03-28
      • 2017-05-29
      • 1970-01-01
      • 1970-01-01
      • 2017-05-02
      • 1970-01-01
      • 1970-01-01
      • 2016-06-01
      相关资源
      最近更新 更多