diff --git a/llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/TaskRunnerCallable.java b/llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/TaskRunnerCallable.java index 99f226c799df..88cc5bc071a0 100644 --- a/llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/TaskRunnerCallable.java +++ b/llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/TaskRunnerCallable.java @@ -49,7 +49,7 @@ import org.apache.hadoop.security.UserGroupInformation; import org.apache.hadoop.security.token.Token; import org.apache.hadoop.yarn.api.records.ApplicationId; -import org.apache.log4j.NDC; +import org.apache.log4japi.NDC; import org.apache.tez.common.CallableWithNdc; import org.apache.tez.common.TezCommonUtils; import org.apache.tez.common.security.JobTokenIdentifier; diff --git a/llap-tez/pom.xml b/llap-tez/pom.xml index ede8496b33c3..1ce01cc78681 100644 --- a/llap-tez/pom.xml +++ b/llap-tez/pom.xml @@ -233,6 +233,33 @@ ${basedir}/src/java ${basedir}/src/test + + org.apache.maven.plugins + maven-shade-plugin + + + package + + shade + + + false + false + + + org.apache.logging.log4j:log4j-1.2-api + + + + + org.apache.log4j + org.apache.log4japi + + + + + + org.codehaus.mojo build-helper-maven-plugin