gpt4 book ai didi

java - Titan图数据库超时错误

转载 作者:行者123 更新时间:2023-12-01 08:57:03 26 4
gpt4 key购买 nike

我正在运行 titan 图形数据库服务器,但当 titan 服务器连接 Elasticsearch 时,出现时间超出错误

最佳答案

如果没有安装java8请检查是否存在。还可以按照以下步骤正确安装 titan db1. 从https://github.com/thinkaurelius/titan/wiki/Downloads下载zip文件并选择Titan 1.0.0 with Hadoop 1 –推荐(签名)进行下载2. 确保 java 8 存在并将 java 主路径设置为 java 8 的正确位置(适用于 titan 1.0.0)

安装 java8 的注意事项使用以下命令,顺序相同

sudo add-apt-repository ppa:webupd8team/javasudo apt-get 更新sudo apt-get install oracle-java8-installer

java8的路径位置是“/usr/lib/jvm/java-8-oracle”

  • 解压文件
  • 转到文件位置(在终端中)
  • 使用命令 bin/cassandra –f 运行 Cassandra
  • 运行命令bin/titan.sh 启动在新终端中
  • 如果 Cassandra fork ,Easticsearch 和 gremlin 服务器正在运行。只有这样安装才能正常工作
  • 运行命令 bin/gremlin.sh
  • 注意停止 titan 运行命令 bin/titan.sh stop

    关于java - Titan图数据库超时错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41982727/

    26 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com