Skip to content

passer-b/docker-presto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-presto

docker image of Presto

usage

docker run -p 8080:8080 passant/presto:latest

environment variables

name default description
NODE_TYPE standalone standalone, coordinator, worker
NODE_ID random uuid value node id
JVM_MIN_HEAP_SIZE 512M use to -Xms
JVM_MAX_HEAP_SIZE 1024M use to -Xmx
JVM_HEAP_REGION_SIZE 32M use to -XX:G1HeapRegionSize
MAX_MEMORY ${JVM_MIN_HEAP_SIZE}B maximum memory size of cluster
MAX_MEMORY_PER_NODE ${JVM_MIN_HEAP_SIZE}B maximum memory size of each node
DISCOVERY_URI http://localhost:8080 discovery server's URL
LOG_LEVEL INFO DEBUG, INFO, WARN, ERROR

presto-cli

docker run --rm -it passant/presto:latest presto-cli --server <server>