Commit dcfc483f by Aaron Dossett

change default to /etc/hive/conf

parent f999c67a
...@@ -75,7 +75,7 @@ if [ ! -z "$HIVE_CONF_DIR" ]; then ...@@ -75,7 +75,7 @@ if [ ! -z "$HIVE_CONF_DIR" ]; then
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 /usr/hdp/current/hive-client/conf ]; then
HIVE_CP="/usr/hdp/current/hive-client/conf" HIVE_CP="/etc/hive/conf"
else else
echo "Could not find a valid HIVE configuration" echo "Could not find a valid HIVE configuration"
exit 1 exit 1
......
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