Re: Setting different class loader

Mark Evenson <[email protected]> Wed, 22 Jul 2020 19:35:53 +0200
Newsgroups gmane.editors.j.devel
Message-ID <[email protected]>

> On Jul 22, 2020, at 12:58, Olof-Joachim Frahm <[email protected]> wrote:
> 
> On Wed, Jul 22, 2020 at 09:52:45AM +0000, Steven Nunez wrote:
>> I've verified with (java:dump-classpath) that the JAR is on the ABCL
>> classpath, and the JAR file does contain the
>> spark-version-info.properties file. I've also tried getting the file
>> myself with:
>> (defvar rs
>>   #1"Thread.currentThread()
>>     .getContextClassLoader()
>>     .getResourceAsStream("spark-version-info.properties")" )
>> which returns nil, so their theory may be correct.
>> Messing around with class loaders is a bit beyond my 20 year old Java knowledge [...]
> 
> Just to get you a bit unblocked, it seems you can indeed set the current
> context class loader and then the call to create the `JavaSparkContext`
> succeeds:


I’ve started to tool around with getting Spark working, but it doesn’t quite work for me yet.

My current progress is in [Ember][]

[Ember]: <https://github.com/easye/ember.git>


-- 
"A screaming comes across the sky.  It has happened before but there is nothing 
to compare to it now."