mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-06-07 16:41:55 +00:00
update hive
This commit is contained in:
parent
2f98185984
commit
e356a4af6c
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user