cameronlee314 commented on issue #1293: SAMZA-2472: Use 
runtime-framework-resources-pathing.jar to specify part of the runtime 
classpath and leverage it in IsolatingClassLoaderFactory
URL: https://github.com/apache/samza/pull/1293#issuecomment-591735621
 
 
   > I assumed by backwards compatible you meant both pathing jars (base-lib 
and runtime-framework-resources) will have the conf dir. Is this only used 
within the runtime-framework-resources classloader?
   
   By backwards compatible, I meant that when using `run-class.sh` to run a 
class, the same resources will be available on the classpath. I think the 
actual name/contents of the pathing JARs are internal details, so as long as 
the final classpath is the same, the details of the pathing JAR(s) can change 
without being considered as a backwards incompatible change.
   `HADOOP_CONF_DIR` is used in both non-isolation mode and isolation mode. In 
non-isolation mode, it is accessed through 
`runtime-framework-resources-pathing.jar` which is passed through the `-cp` 
argument. In isolation mode, `IsolatingClassLoaderFactory` will add 
`runtime-framework-resources-pathing.jar` to the classpath of the 
infrastructure classloader.

----------------------------------------------------------------
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

Reply via email to