Forge Home

presto

Install Facebook Presto distributed SQL engine.

9,506 downloads

9,506 latest version

1.5 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.0.1 (latest)
released Jun 10th 2014

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'viirya-presto', '0.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add viirya-presto
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install viirya-presto --version 0.0.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

viirya/presto — version 0.0.1 Jun 10th 2014

Puppet module for deploying Presto distributed SQL engine

This puppet module is used to deploy Presto on Apache Hadoop cluster. Hadoop and Hive softwares should be installed in advance. Currently it is tested with Apache Hadoop 2.2.0 and Hive 0.12.0.

Usage

Once you installed this module by puppet command line. You can find module files under /etc/puppet/modules/presto. First step is to modify related parameters by changing the content of manifests/params.pp.

The parameters you would like to modify include:

  • $version: Presto version number. The module will automatically download corresponding Presto distribution.
  • $master: The hostname of Presto coordinator.
  • $slaves: The hostnames of Presto workers.
  • $hive_metastore: The hostname of Hive metastore thrift server.

There are also the parameters about installation path and data path of Presto, system user and group of Presto. Modify them according to your configuration.

After these parameters are done, put this module in the resource definition.

    node 'your nodes' {
        include java                                                  
        include presto::cluster                                      
    }

Currently this module would not run Presto automatically on clsuter nodes. It also doesn't help install Discovery Service but uses embeded version of it.