update hive

This commit is contained in:
Newnius 2018-08-06 19:07:59 +08:00
parent 2f98185984
commit e356a4af6c
2 changed files with 10 additions and 0 deletions

View File

@ -4,6 +4,9 @@ MAINTAINER Newnius <newnius.cn@gmail.com>
USER root
# Prerequisites
RUN apk add --no-cache openssl openjdk8-jre rsync bash procps
# Install Apche Hive
ENV HIVE_VER 2.1.1

View File

@ -1,5 +1,12 @@
#!/bin/bash
## replace config
: ${EXTRA_CONF_DIR:=/config/hive}
if [ -d "$EXTRA_CONF_DIR" ]; then
cp $EXTRA_CONF_DIR/* /usr/local/hive/conf
fi
hive --service metastore
if [[ $1 == "-d" ]]; then