Apache Drill Docker container
Shell
Latest commit 9865817 Nov 13, 2014 @matyix matyix Merge pull request #1 from jfmwz/master
Change Apache Drill version to 0.6
Permalink
Failed to load latest commit information.
data Create sample.json Sep 8, 2014
Dockerfile Update Dockerfile Nov 13, 2014
LICENSE Initial commit Sep 5, 2014
README.md Update README.md Sep 13, 2014
bootstrap.sh Version 0.6 of Apache Drill Nov 13, 2014

README.md

Apache Drill Docker container

A single node Apache Drill container, to quick start and learn Drill.

Build the container

You can build the container from the Dockerfile. In order to do that run:

docker build -t sequenceiq/drill .

Pull the container

We have created an automed Docker container, available from the Docker registry as a trusted build. We suggest to always use this image, as we maintain, support and continuously improve it.

docker pull sequenceiq/drill

Run the container

Once you have pulled the container you are ready to use Drill. We launch SQLline during the bootstrap process, so you are ready to issue queries. Please note that the data has to be available in the container (Drill comes with sample data).

docker run -it sequenceiq/drill /etc/bootstrap.sh

Run the container with volume

For a more comprehensive Drill experience you can query data external to your container - the only thing you will need to do is to mount an external folder from your host. Once the volume is mounted you can access the Drill UI at http://CONTAINER_IP:8047, you can either add a new file system based storage plugin workspace pointing to the mounted folder, or use the default file system storage workspace.

docker run -it -v /data:/data sequenceiq/drill /etc/bootstrap.sh

Rest API

Get Drillbit status: http://CONTAINER_IP:8047/status
Get all submitted queries: http://CONTAINER_IP:8047/queries
Get status of a given query:http://CONTAINER_IP:8047/query/{QUERY_ID}

Note: you can find your container IP by running docker inspect CONTAINER_ID