Skip to content

dvoros/docker-hive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Apache Hive docker image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages