gpt4 book ai didi

prestodb 无法连接到发现服务器进行刷新

转载 作者:行者123 更新时间:2023-12-02 17:41:33 25 4
gpt4 key购买 nike

我正在尝试在单个节点上部署 presto。在运行嵌入发现服务器的 Presto 协调器服务器时,出现以下错误:

ERROR   Discovery-0 io.airlift.discovery.client.CachingServiceSelector  Cannot connect to discovery server for refresh (hive-metastore/general): Lookup of hive-metastore failed with status code 404
ERROR Announcer-0 io.airlift.discovery.client.Announcer Cannot connect to discovery server for announce: Announcement failed with status code 404:
ERROR Discovery-0 io.airlift.discovery.client.CachingServiceSelector Cannot connect to discovery server for refresh (collector/general): Lookup of collector failed for http://172.16.2.111:8080/v1/service/collector/general

我的 node.id 是由 'uuidgen' 产生的

我的 config.properties::

coordinator=true
datasources=jmx,hive
http-server.http.port=8080
presto-metastore.db.type=h2
presto-metastore.db.filename=/data/presto/coordinator/meta_db/MetaStore
task.max-memory=1GB
discovery-server.enabled=ture
discovery.uri=http://172.16.2.111:8080

节点属性:

node.environment=production
node.id=1dfa7386-36e8-44b1-bfe7-6955882eec5e
node.data-dir=/var/presto/coordinator

最佳答案

出现此错误消息是因为服务选择器和播音员在服务器仍在启动时开始尝试连接。不久之后,您应该在日志中看到“刷新成功”“宣布成功”,这表明它正在运行。我们最终会修复日志消息,但这纯粹是一个表面问题。

关于prestodb 无法连接到发现服务器进行刷新,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19972294/

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