GithubHelp home page GithubHelp logo

isabella232 / f8-2019-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from prestodb/f8-2019-demo

0.0 0.0 0.0 22 KB

A tutorial on how to get started with Presto.

License: Apache License 2.0

Dockerfile 8.58% Jupyter Notebook 91.42%

f8-2019-demo's Introduction

Getting Started with Presto

Introduction

This repository contains the files used to present the F8 2019 classroom demo: Getting Started with Presto: Run SQL at any Scale. They will setup a Presto cluster with MySQL and MongoDB instances that you can query from Presto.

Requirements

The demo was develop on Mac OS X.

Quick Start

To start the Presto cluster and its dependencies:

docker-compose up

Then open the Jupyter Notebook at localhost:8888.

The Jupyter Notebook password is demo. You can override it by changing the SHA1 hash of --NotebookApp.password='sha1:2017f6d8a65d:4f2115202d4cd8c081f1c135bc2b41292bcb4ec4' in docker-compose.yml.

The Presto UI is available at localhost:8080.

To run the Presto CLI:

docker exec -it f8-2019-demo_presto_1 bin/presto-cli

You can find Presto's documentation on prestodb.io/docs/current/.

If you update a Dockerfile, use docker-compose up --build to ignore cache and rebuild the images.

Next Steps

In this demo, we run all Presto nodes on the same machine. Presto has two types of nodes:

  • The coordinator is the main server that compiles SQL And manages its execution
  • The worker is a node that executes tasks scheduled by the coordinator

To run Presto in a distributed way, you will create a new instance with coordinator=false in etc/config.properties.

References

Contributing

See the CONTRIBUTING file for how to help out.

License

f8-2019-demo is Apache 2.0 licensed, as found in the LICENSE file.

f8-2019-demo's People

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.