docker-impala icon indicating copy to clipboard operation
docker-impala copied to clipboard

Run Impala in a Docker container.

Docker Impala

Run Impala in a Docker container.

docker-compose up -d

When Impala has started the web UI will be visible (after a minute or so) by running:

open http://$(docker-machine ip):25000

(Note that for troubleshooting purposes you can connect to the container with docker-compose exec impala bash, then check /tmp/supervisord.log and the log files in /var/log/hadoop-hdfs, /var/log/hive, and /var/log/impala.)

Perform a trivial query:

docker-compose exec impala impala-shell -q 'select 1'

Shutdown the container with:

docker-compose down

This is based on the work at https://github.com/parrot-stream, the main difference being that unnecessary services like YARN are not included.