update hive

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

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