add hive:2.3.3

This commit is contained in:
2018-08-06 21:08:28 +08:00
parent ea4dc5d428
commit 93f18c1989
7 changed files with 170 additions and 8 deletions

18
hive/2.3.3/bootstrap.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/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
while true; do sleep 1000; done
fi
if [[ $1 == "-bash" ]]; then
/bin/bash
fi