yuanzac commented on a change in pull request #187: Add yarn submitter with 
classloader.
URL: https://github.com/apache/submarine/pull/187#discussion_r381730145
 
 

 ##########
 File path: 
submarine-server/server-rpc/src/main/java/org/apache/submarine/server/rpc/SubmarineRpcServer.java
 ##########
 @@ -109,11 +116,38 @@ private static ClientContext getClientContext(RpcContext 
rpcContext) {
     ClientContext clientContext = new ClientContext();
     clientContext.setYarnConfig(conf);
     mergeSubmarineConfiguration(clientContext.getSubmarineConfig(), 
rpcContext);
+    ClassLoader classLoader = new 
URLClassLoader(constructUrlsFromClasspath("../lib/submitter"));
 
 Review comment:
   Yeah, agree with you. The code just adds jars in the submitter, not 
including jars in the submitter/submitter-k8s

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to