Skip to Content
Presto实战
book

Presto实战

by Matt Fuller, Manfred Moser, Martin Traverso
March 2021
Intermediate to advanced
265 pages
6h 50m
Chinese
Posts & Telecom Press
Content preview from Presto实战
65
5
生产环境部署
你已经在第
2
章中了解了使用
tar.gz
包安装
Presto
的方法,并在第
4
章中了解了
Presto
架构,现在可以学习安装
Presto
集群的细节了
。有了这些知识,你将能够在生产环境中部
署具有一个协调器和多个工作节点的
Presto
集群。
5.1
 配置细节
Presto
的配置由下文所介绍的多个文件所管理,它们默认存放在安装目录下的
etc
目录中。
配置文件目录以及各个配置文件的默认位置,都可以使用启动器脚本的参数覆盖(参见
5.6
)。
5.2
 服务端配置
Presto
服务端的配置由
etc/config.properties
文件提供。
Presto
服务端可以作为协调器或工作
节点,也可以兼具两种角色。将服务端程序设定为只执行协调器的工作,并添加一系列其
他服务端程序作为专用工作节点,这种配置方式可以提供最佳的性能并创建
Presto
集群
上述配置文件的内容非常重要,特别是因为它们决定了服务端程序是作为工作节点还是协
调器,而这会影响资源的使用和配置。
Presto
集群中的所有工作节点应该具有完全相同的设置。
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

大数据项目管理:从规划到实现

大数据项目管理:从规划到实现

Ted Malaska, Jonathan Seidman
Google系统架构解密: 构建安全可靠的系统

Google系统架构解密: 构建安全可靠的系统

Heather Adkins, Betsy Beyer, Paul Blankinship, Piotr Lewandowski, Ana Oprea, Adam Stubblefield

Publisher Resources

ISBN: 9787115560056