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