No description, website, or topics provided.
Latest commit 19467fd Jan 19, 2017 Giannis Mouchakis added version in README


This is a docker container for Apache Hive 2.1.1. It is based on so check there for Hadoop configurations. This deploys Hive and starts a hiveserver2 on port 10000. Metastore is running with a connection to postgresql database. The hive configuration is performed with HIVE_SITE_CONF_ variables (see hadoop-hive.env for an example).

To build and run Hive with postgresql metastore:

    docker-compose build
    docker-compose up -d namenode hive-metastore-postgresql
    docker-compose up -d datanode hive-metastore
    docker-compose up -d hive-server

hive-metastore service depends on hive-metastore-postgresql, which should be up and running before you start hive-metastore. hive-server service depends on hive-metastore service.


  docker exec -it hive-server bash
  # /opt/hive/bin/beeline -u jdbc:hive2://localhost:10000