update hive

This commit is contained in:
Newnius 2019-04-06 11:50:23 +08:00
parent d91eb0185b
commit 072b9f1da0

View File

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