ClassLoading issue when running code using SparkSubmit
When running the app using spark-submit the application can't find certain classes. It is caused by this code
When running the app using spark submit, we don't set the fallback class-loader and parent class-loader is used to load classes which are not defined in our custom repl. The parent class-loader is however system class loader which can't see the classes.
The fix is simple - we just need to pass context classloader to the interpreterClassloader
This is fix to this issue as well https://0xdata.atlassian.net/projects/SW/issues/SW-152?filter=allopenissues