diff --git hcatalog/webhcat/svr/src/main/bin/webhcat_server.sh hcatalog/webhcat/svr/src/main/bin/webhcat_server.sh index 3e29573..6e45ee2 100644 --- hcatalog/webhcat/svr/src/main/bin/webhcat_server.sh +++ hcatalog/webhcat/svr/src/main/bin/webhcat_server.sh @@ -211,13 +211,7 @@ else fi if [[ -z "$WEBHCAT_LOG4J" ]]; then - if [[ -f "$base_dir/conf/webhcat-log4j.properties" ]]; then - WEBHCAT_LOG4J="$base_dir/conf/webhcat-log4j.properties"; - elif [[ -f "$base_dir/conf/webhcat-log4j.properties" ]]; then - WEBHCAT_LOG4J="$base_dir/conf/webhcat-log4j.properties"; - else - WEBHCAT_LOG4J="webhcat-log4j.properties"; - fi + WEBHCAT_LOG4J="file://$base_dir/etc/webhcat/webhcat-log4j.properties"; fi export HADOOP_USER_CLASSPATH_FIRST=true