Docker 部署 Presto
1. 架构图 {#presto_architecture}
2. 部署 Presto {#Deploy_presto}
docker run -d -p 127.0.0.1:8080:8080 --name presto starburstdata/presto
docker exec -it presto presto-cli
1
2
2
3. 测试 {#Test}
时间距离,不带时区
presto> select localtimestamp - interval '1' hour;
_col0
-------------------------
2019-11-18 09:50:21.746
1
2
3
4
2
3
4
reference
- [1] meituan. Presto 实现原理和美团的使用实践open in new window
- [2] alluxio. AN INTRODUCTION TO THE PRESTO ARCHITECTUREopen in new window
- [3] tutorialspoint. Apache Presto - Architectureopen in new window
- [4] starburstdata. Docker Image for Prestoopen in new window
- [5] abei. 在 Docker 中运行 Prestoopen in new window
- [6] presto. presto-hive-hadoop2open in new window