docker pull zhicwu/presto:latest
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;
輸出node
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