Commit f1eb7ced by Aaron Dossett

correct test for /etc/hive/conf

parent 27eb676c
...@@ -74,7 +74,7 @@ if [ ! -z "$HIVE_CONF_DIR" ]; then ...@@ -74,7 +74,7 @@ if [ ! -z "$HIVE_CONF_DIR" ]; then
HIVE_CP=$HIVE_CONF_DIR HIVE_CP=$HIVE_CONF_DIR
elif [ ! -z "$HIVE_HOME" ]; then elif [ ! -z "$HIVE_HOME" ]; then
HIVE_CP="$HIVE_HOME/conf" HIVE_CP="$HIVE_HOME/conf"
elif [ -e /usr/hdp/current/hive-client/conf ]; then elif [ -e /etc/hive/conf ]; then
HIVE_CP="/etc/hive/conf" HIVE_CP="/etc/hive/conf"
else else
echo "Could not find a valid HIVE configuration" echo "Could not find a valid HIVE configuration"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment