Skip to content

Commit 43220b4

Browse files
committed
HIVE-29284 use Utilities.getSessionSpecifiedClassLoader() with addJarLRByClassName
1 parent 828f285 commit 43220b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezSessionState.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ protected void openInternal(String[] additionalFilesNotFromConf,
308308
addJarLRByClass(LlapProtocolClientImpl.class, commonLocalResources);
309309
addJarLRByClass(LlapProtocolClientProxy.class, commonLocalResources);
310310
addJarLRByClassName(
311-
getClass().getClassLoader(),
311+
Utilities.getSessionSpecifiedClassLoader(),
312312
"org.apache.hadoop.registry.client.api.RegistryOperations",
313313
commonLocalResources
314314
);

0 commit comments

Comments
 (0)