prestodb/presto-yarn

Name: presto-yarn

Owner: Presto

Description: null

Created: 2015-09-21 18:55:00.0

Updated: 2018-03-02 05:39:22.0

Pushed: 2018-04-27 03:10:51.0

Homepage: null

Size: 43838

Language: Java

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Presto-yarn Build Status

This project contains the code and needed to integrate Presto Presto <https://prestodb.io/> with Apache Hadoop YARN using Apache Slider <https://slider.incubator.apache.org/>

Presto on YARN can be set up either manually using Apache Slider or via Ambari Slider Views if you are planning to use HDP distribution.

The full documentation can be found here.

Building the project

Run `mvn clean packageand the presto app package will be packaged at `presto-yarn-package/target/presto-yarn-package--.zip. To specify a specific version of Presto runmvn clean package -Dpresto.version=<version>``

This .zip will have presto-server-<version>.tar.gz from Presto under package/files/. The Presto installed will use the configuration templates under package/templates.

The app package built should look something like:

::

 unzip -l "$@" ../presto-yarn-package-1.0.0-SNAPSHOT-0.130.zip

 Archive:  ../presto-yarn-package-1.0.0-SNAPSHOT-0.130.zip
   Length      Date    Time    Name
 ---------  ---------- -----   ----
     0  2015-11-30 22:57   package/
     0  2015-11-30 22:57   package/files/
 411459833  2015-11-30 20:26   package/files/presto-server-0.130.tar.gz
  1210  2015-11-30 22:57   appConfig-default.json
   606  2015-11-30 22:57   resources-default.json
     0  2015-11-30 20:26   package/scripts/
     0  2015-11-30 21:22   package/plugins/
     0  2015-11-30 20:26   package/templates/
   897  2015-11-30 22:57   package/scripts/presto_coordinator.py
   892  2015-11-30 22:57   package/scripts/presto_worker.py
  2801  2015-11-30 22:57   package/scripts/configure.py
   787  2015-11-30 22:57   package/scripts/__init__.py
  2285  2015-11-30 22:57   package/scripts/params.py
  1944  2015-11-30 22:57   package/scripts/presto_server.py
    35  2015-11-30 22:57   package/plugins/README.txt
   948  2015-11-30 22:57   package/files/README.txt
   236  2015-11-30 22:57   package/templates/config.properties-WORKER.j2
    69  2015-11-30 22:57   package/templates/node.properties.j2
   304  2015-11-30 22:57   package/templates/config.properties-COORDINATOR.j2
  2020  2015-11-30 22:57   metainfo.xml
 ---------                     -------
 411474867                     20 files

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.