pulsar集成presto

本文档详细介绍了如何在三节点Pulsar集群上集成并配置Presto,包括环境准备、配置集群步骤及启动和使用方法。
摘要由CSDN通过智能技术生成

一、环境准备

1.使用pulsar包中自带的presto,无需再下载presto。

2.三节点集群,一台coordinator,两台worker。

3.每台节点需要各自修改两个配置文件,pulsar-2.7.1/conf/presto/config.properties,pulsar-2.7.1/conf/presto/catalog/pulsar.properties

 

二、配置集群

1.修改coordinator节点配置文件

cd pulsar-2.7.1/conf/presto/config.properties
​
node.id=ffffffff-ffff-ffff-ffff-fffffffffffe   #三台节点的ID不能相同
node.environment=test                          #环境名三台节点保持相同
coordinator=true                               #true表示指定当前节点为coordinator
node-scheduler.include-coordinator=true
http-server.http.port=18081  
query.max-memory=50GB
query.max-memory-per-node=1GB
discovery-server.enabled=true
discovery.uri=http://192.168.1.214:18081       #指定地址

2.修改另外两台worker的配置文件

cd pulsar-2.7.1/conf/presto/config.properties
​
node.id=ffffffff-ffff-ffff-ffff-fffffffffffe   #三台节点的ID不能相同
node.environment=test                          #环境名三台节点保持相同
coordinator=false                              #true表示指定当前节点为coordinator
node-scheduler.include-coordinator=true
http-server.http.port=18081  
query.max-memory=50GB
query.max-memory-per-node=1GB
discovery.uri=http://192.168.1.214:18081       #指定地址为coordinator地址
​
以下配置注释掉:
#discovery-server.enabled=true
#scheduler.http-client.max-connections=1000
#scheduler.http-client.max-connections-per-server=1000
#scheduler.http-client.connect-timeout=1m
#scheduler.http-client.idle-timeout=
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值