2

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

1 回答 1

5

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

于 2013-11-14T19:23:30.957 回答