presto启动报错:Selector Cannot connect to discovery server for refresh

来源:互联网 发布:java小区物业管理系统 编辑:程序博客网 时间:2024/05/12 16:48
presto主节点日志启动信息出现以下error:
2017-07-12T14:31:30.651+0800 ERROR Discovery-0 io.airlift.discovery.client.CachingServiceSelector Cannot connect to discovery server for refresh (presto/general): Lookup of presto failed for http://master135:8090/v1/service/presto/general
2017-07-12T14:31:31.729+0800 WARN http-client-shared-27 com.facebook.presto.metadata.RemoteNodeState Error fetching node state from http://10.92.100.135:8090/v1/info/state: Server refused connection: http://10.92.100.135:8090/v1/info/state
2017-07-12T14:31:32.322+0800 ERROR Discovery-0 io.airlift.discovery.client.CachingServiceSelector Cannot connect to discovery server for refresh (collector/general): Lookup of collector failed for http://master135:8090/v1/service/collector/general
2017-07-17T01:36:44.793+0800     INFO   main    com.facebook.presto.server.PrestoServer ======== SERVER STARTED ========
2017-07-17T17:25:35.517+0800 ERROR Announcer-0 io.airlift.discovery.client.Announcer Cannot connect to discovery server for announce: Announcement failed for http://mastar.comtop:8090
2017-07-17T17:25:35.518+0800 ERROR Announcer-0 io.airlift.discovery.client.Announcer Service announcement failed after 8.84ms. Next request will happen within 0.00s
2017-07-17T17:25:35.524+0800 ERROR Announcer-1 io.airlift.discovery.client.Announcer Service announcement failed after 1.71ms. Next request will happen within 1.00ms
.......

主要原因:discovery 服务无法解析config.properties配置中的discovery.uri
Google后看到presto共享者的回答:

解决办法:将config.properties配置中discovery.uri域名换成ip即可。


阅读全文
0 0
原创粉丝点击