Hi Carlos,
Glad to hear that it worked out!
Cheers
Alexander
On Mar 15, 2016 19:18, "Carlos Chávez" wrote:
> Hi Alexander.
>
> As you pointed, I created a custom class loader and read the bytes from
> the .class files and load in this custom class loader, that works just
> fine.
>
> Now, the b
Hi Alexander.
As you pointed, I created a custom class loader and read the bytes from
the .class files and load in this custom class loader, that works just fine.
Now, the bolt is created instances of the objects that I need using this
custom class loader.
thank you.
On 03/10/2016 07:29 AM, Ale
Hi Carlos,
Just a wild guess here, but when you compile your source into a new class
you are defining a new class which will only be available in the JVM where
you compiled it, since it's not part of the built-time classpath and not
distributed with your app. Therefore you will need to send the cl
Hi John.
But that should be done at build time, right?
The thing is that I have already packed the fat jar and there is this
class that submit the topology, in this class I read from somewhere the
source code of the class and compile at runtime, but then when the bolt
try to deseralize the object
You can put the needed compiled classes in the directory: your topology's
src/main/resources, then you package your topology with resources. If you
submit the topology, storm will extract the needed the compiled classes to a
directory which is in the worker's scope. So the spout/bolt can find th