presto-docker运行

codecraft

docker

docker pull zhicwu/presto:latest

start

git clone https://github.com/zhicwu/docker-presto.git
cd docker-presto
chmod +x *.sh
./start-presto.sh
docker logs -f my-presto

查看

docker exec -it my-presto bash
./presto --server presto:8080 --catalog jmx --schema jmx
presto:jmx> show tables;

输出

presto:jmx> show tables;
                                                                      Table
--------------------------------------------------------------------------------
 com.facebook.presto.execution.scheduler:name=nodescheduler
 com.facebook.presto.execution:name=queryexecution
 com.facebook.presto.execution:name=querymanager
 com.facebook.presto.execution:name=remotetaskfactory
 com.facebook.presto.execution:name=taskexecutor
 com.facebook.presto.execution:name=taskmanager
 com.facebook.presto.execution:type=queryqueue,name=global,expansion=global
 com.facebook.presto.failuredetector:name=heartbeatfailuredetector
 com.facebook.presto.memory:name=clustermemorymanager
 com.facebook.presto.memory:type=clustermemorypool,name=general
 com.facebook.presto.memory:type=clustermemorypool,name=reserved
 com.facebook.presto.memory:type=clustermemorypool,name=system
 com.facebook.presto.memory:type=memorypool,name=general
 com.facebook.presto.memory:type=memorypool,name=reserved
 com.facebook.presto.memory:type=memorypool,name=system
 com.facebook.presto.operator.index:name=indexjoinlookupstats
 com.facebook.presto.security:name=accesscontrolmanager
 com.facebook.presto.server.remotetask:name=remotetaskstats
 com.facebook.presto.server:name=asynchttpexecutionmbean
 com.facebook.presto.server:name=exchangeexecutionmbean
 com.facebook.presto.server:name=taskresource
 com.facebook.presto.sql.gen:name=expressioncompiler

docs

阅读 2.8k

code-craft
spring boot , docker and so on 欢迎关注微信公众号: geek_luandun

当一个代码的工匠回首往事时,不因虚度年华而悔恨,也不因碌碌无为而羞愧,这样,当他老的时候,可以很...

11.6k 声望
1.9k 粉丝
0 条评论
你知道吗?

当一个代码的工匠回首往事时,不因虚度年华而悔恨,也不因碌碌无为而羞愧,这样,当他老的时候,可以很...

11.6k 声望
1.9k 粉丝
文章目录
宣传栏