ishnagy commented on code in PR #6146:
URL: https://github.com/apache/hive/pull/6146#discussion_r2484775377
##########
ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezSessionState.java:
##########
@@ -308,7 +307,11 @@ protected void openInternal(String[]
additionalFilesNotFromConf,
addJarLRByClass(LlapTaskSchedulerService.class, commonLocalResources);
addJarLRByClass(LlapProtocolClientImpl.class, commonLocalResources);
addJarLRByClass(LlapProtocolClientProxy.class, commonLocalResources);
- addJarLRByClass(RegistryOperations.class, commonLocalResources);
+ addJarLRByClassName(
+ getClass().getClassLoader(),
Review Comment:
My intention was not to couple the by className lookup to a single
classloader (lookup) implementation. E.g. your request about using
`Utilities.getSessionSpecifiedClassLoader()` would be a much better fit here
(not having to change anything in `addJarLRByClassName` itself)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]