Hisoka-X commented on code in PR #6356:
URL: https://github.com/apache/seatunnel/pull/6356#discussion_r1499105840
##########
seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/master/JobMaster.java:
##########
@@ -222,6 +222,8 @@ public void init(long initializationTimestamp, boolean
restart) throws Exception
runningJobStateTimestampsIMap,
engineConfig.getQueueType(),
engineConfig);
+ // revert to app class loader, it may be changed by
PlanUtils.fromLogicalDAG
+ Thread.currentThread().setContextClassLoader(appClassLoader);
Review Comment:
also fix sometimes classloader not revert to app classloader, because the
thread class loader may be changed by connector code.
--
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]