From 072b9f1da0ef3686ff34ae54c9a8d193fca85f6a Mon Sep 17 00:00:00 2001 From: Newnius Date: Sat, 6 Apr 2019 11:50:23 +0800 Subject: [PATCH] update hive --- hive/2.1.1/bootstrap.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/hive/2.1.1/bootstrap.sh b/hive/2.1.1/bootstrap.sh index 16ed242..b18d114 100755 --- a/hive/2.1.1/bootstrap.sh +++ b/hive/2.1.1/bootstrap.sh @@ -1,11 +1,8 @@ #!/bin/bash ## replace config -: ${EXTRA_CONF_DIR:=/config/hive} - -if [ -d "$EXTRA_CONF_DIR" ]; then - cp $EXTRA_CONF_DIR/* /usr/local/hive/conf -fi +test -d /config/hadoop && cp /config/hadoop/* /usr/local/hadoop/etc/hadoop/ +test -d /config/hive && cp /config/hive/* /usr/local/hive/conf/ hive --service metastore