Apache Hive docker image
Branch: master
Clone or download
Latest commit a58fcf7 Oct 10, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile
README.md build instructions to readme Oct 6, 2017
bootstrap.sh
core-site.xml.template
hive-site.xml disable operational logging in beeline Nov 6, 2017

README.md

Apache Hive Docker image

DockerPulls DockerStars

Note: this is the master branch - for a particular Hive version always check the related branch

With Oracle JDK8 and Hadoop 2.7.4 and Tez 0.8.4.

Usage

docker run -it dvoros/hive:latest

This will leave you with a bash prompt where a default beeline command to connect to Hiveserver2 is added to the history:

beeline -u 'jdbc:hive2://localhost:10000' -n root

You should wait a few seconds for Hiveserver2 to initialize before connecting.

Custom Hive version

Build Hive with:

mvn clean install -Pdist -DskipTests -Dmaven.javadoc.skip=true -DcreateChecksum=true

Provide the built artifacts as a volume:

docker run -v /path/to/hive/packaging/target/apache-hive-XXX-bin/apache-hive-XXX-bin:/usr/local/custom-hive -it dvoros/hive:latest