Skip to Content
Trino 权威指南:原书第2版
book

Trino 权威指南:原书第2版

by Matt Fuller, Manfred Moser, Martin Traverso
July 2023
Intermediate to advanced
278 pages
5h 40m
Chinese
China Machine Press
Content preview from Trino 权威指南:原书第2版
生产环境部署
|
79
daemon mode)
-J OPT Set a JVM option
-D NAME=VALUE Set a Java system property
其他的安装方法使用这些选项来修改路径。例如,
5.8
节中讨论的
RPM
包可以调整路径,
从而更好地匹配
Linux
文件系统层次结构标准和约定。你可以使用这些选项满足类似的
需求,如遵守企业特定的标准、为存储使用特定的挂载点,或仅使用
Trino
安装目录外
的路径来便于升级。
5.7
集群安装
2
章讨论了如何在单机上安装
Trino
,第
4
章介绍了
Trino
是如何设计和计划用在分布
式环境下的。
不同于演示目的,为了在真实场景使用,你需要在一组机器上安装
Trino
。幸运的是,
集群的安装和配置与单机上的操作非常相似。如果需要将
Trino
安装到每一台机器上,
可以手动安装,也可以使用类似
Ansible
这样的自动化部署系统。
到目前为止,你已经部署了单个
Trino
服务器进程,它既作为协调器又作为工作节点。对
于集群安装,你需要安装和配置一个协调器和多个工作节点。仅需将下载的
tar.gz
归档文
件复制到集群中的所有机器上并解压它即可。
与之前一样,你需要创建
etc
目录并添加相关的配置文件。你可以在本书支持的仓库
(参见
1.4.6
节)
cluster-installation
目录下找到一组协调器和工作节点的示例配置文
件。这些配置文件需要存在于集群的每一台机器上。
这些配置与协调器和工作节点在简单安装模式下的配置基本相同,但有一些重要区别:
对于
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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

What Successful Brick-and-Mortar Retailers Get Right

What Successful Brick-and-Mortar Retailers Get Right

Rob Angell
Three Essentials for Agentic AI Security

Three Essentials for Agentic AI Security

Paolo Dal Cin, Daniel Kendzior, Yusof Seedat, Renato Marinho
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer

Publisher Resources

ISBN: 9787111731603