Giter VIP home page Giter VIP logo

presto-cluster's Introduction

Presto cluster with docker

Test environment

  • window 11
  • docker : Docker version 20.10.17, build 100c701
  • docker-compose : docker-compose version 1.29.2, build 5becea4c
  • presto : 0.276.1

Run

git clone https://github.com/2h-kim/presto-cluster.git

cd presto-cluster

# Set catalog
vim mysql.properties

docker-compose up -d

Environment Value

environment value config file value default
PRESTO_CONF_COORDINATOR config.properties coordinator true
PRESTO_CONF_INCLUDE_COORDINATOR config.properties node-scheduler.include-coordinator true
PRESTO_CONF_HTTP_PORT config.properties http-server.http.port 8080
PRESTO_CONF_QUERY_MAX_MEMORY config.properties query.max-memory 5GB
PRESTO_CONF_QUERY_MAX_MEMORY_PER_NODE config.properties query.max-memory-per-node 1GB
PRESTO_CONF_QUERY_MAX_TOTAL_MEMORY_PER_NODE config.properties query.max-total-memory-per-node 2GB
PRESTO_CONF_DISCOVERY_SERVER_ENABLED config.properties discovery-server.enabled true
PRESTO_CONF_DISCOVERY_URI config.properties discovery.uri http://localhost:8080
PRESTO_JVM_MEMORY_MS_MX jvm.config - 16G
PRESTO_JVM_H1_HEAP_REGION_SIZE jvm.config - 32M
PRESTO_LOG_LEVEL log.properties com.facebook.presto INFO
PRESTO_NODE_ENV node.properties node.environment INFO
PRESTO_NODE_ID node.properties node.id uuidgen

presto-cluster's People

Contributors

2h-kim avatar kgg6008 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.