【问题标题】:How to deploy listener of text-index on NebulaGraph Database?如何在NebulaGraph Database上部署text-index的监听器?
【发布时间】:2023-01-05 12:02:15
【问题描述】:

以下是步骤(和问题):

  1. 停止172.16.0.17星云图
    sudo /usr/local/nebula/scripts/nebula.service stop all
    
    1. kill -9 停止监听

    2. 重启服务

    sudo /usr/local/nebula/scripts/nebula.service start all
    
    1. 开始监听
    ./bin/nebula-storaged --flagfile /usr/local/nebula/etc/nebula-storaged-listener.conf
    
    1. 在172.16.0.20星云图上,新建一个空间,使用这个空间。然后
    ADD LISTENER ELASTICSEARCH 172.16.0.17:9789
    

    添加监听器

    1. 显示监听器。这是问题所在:它处于离线状态

【问题讨论】:

    标签: nebula-graph


    【解决方案1】:

    主要原因是少了一步:

    我们必须在add listener之前sign in text service。即在第4步之前。否则会报错:

    Running on machine: k3s01
    Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
    E1130 19:25:45.874213 20331 MetaClient.cpp:636] Send request to "172.16.0.17":9559, exceed retry limit
    E1130 19:25:45.874900 20339 MetaClient.cpp:139] Heartbeat failed, status:RPC failure in MetaClient: N6apache6thrift9transport19TTransportExceptionE: AsyncSocketException: connect failed, type = Socket not open, errno = 111 (Connection refused): Connection refused
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-01-16
      • 1970-01-01
      • 2022-12-21
      • 2018-05-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多