diff --git a/hcatalog/webhcat/svr/src/main/bin/webhcat_config.sh b/hcatalog/webhcat/svr/src/main/bin/webhcat_config.sh index 4cfdbb1..adac98c 100644 --- a/hcatalog/webhcat/svr/src/main/bin/webhcat_config.sh +++ b/hcatalog/webhcat/svr/src/main/bin/webhcat_config.sh @@ -64,6 +64,8 @@ fi # Allow alternate conf dir location. if [ -e "${WEBHCAT_PREFIX}/etc/webhcat/webhcat-env.sh" ]; then DEFAULT_CONF_DIR=${WEBHCAT_PREFIX}/"etc/webhcat" +elif [ -e "${WEBHCAT_PREFIX}/conf/webhcat-env.sh" ]; then + DEFAULT_CONF_DIR=${WEBHCAT_PREFIX}/"conf" else DEFAULT_CONF_DIR="/etc/webhcat" fi