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

时间:2013-11-14 07:51:13

标签: presto

我正在尝试在单个节点上部署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.properties:

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

1 个答案:

答案 0 :(得分:5)

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

相关问题