Running Pinot locally

Running Pinot locally

Pinot Quickstart local

Getting Pinot

First, let's get Pinot. You can either build it, or download it

Prerequisites:

  Install Java 8 or higher...

Build

Follow these steps to checkout code from Github and build Pinot locally

Prerequisites:

  Install Apache Maven 3.6 or higher.

# checkout pinot
git clone https://github.com/apache/incubator-pinot.git
cd incubator-pinot
# build pinot
mvn install package -DskipTests -Pbin-dist
# navigate to directory containing the setup scripts
cd pinot-distribution/target/apache-pinot-incubating-${pinot.version}-bin/apache-pinot-incubating-${pinot.version}-bin

Download

Download the latest binary release from Apache Pinot, or use this command

wget https://downloads.apache.org/incubator/pinot/apache-pinot-incubating-${pinot.version}/apache-pinot-incubating-${pinot.version}-bin.tar.gz

Once you have the tar file,

# untar it
tar -zxvf apache-pinot-incubating-${pinot.version}-bin.tar.gz
# navigate to directory containing the launcher scripts
cd apache-pinot-incubating-${pinot.version}-bin

If you want to run Pinot using a Docker image instead, head over to Running Pinot in Docker

Pro-tip: These field names can be controlled via the [global log_schema options][docs.reference.global-options#log_schema].