Any chance your classes are singletons or static classes and the JVM is keeping them around instead of loading the new ones?
> No dia 25/08/2014, às 19:14, Jason Kania <[email protected]> escreveu: > > Tom, > > All the classes are in a single jar and I know the build system is including > the newest versions only. I can see this because I have had to keep renaming > the classes each time I upload and the only things I see in the jar are my > latest classes. Unfortunately, it is old classes that are not in the jar that > storm would attempt to run without the renaming. I am running with the 1.7 > update 67 jdk. > > Thanks, > > Jason > > From: Tom Brown <[email protected]> > To: "[email protected]" <[email protected]> > Sent: Monday, August 25, 2014 12:27:03 PM > Subject: Re: Preventing storm from caching classes > > That sounds like a very odd issue, as each storm worker runs within an > independent JVM. Are you putting all your classes in a single jar file (that > you upload to storm)? Is there any chance your build system is not including > the newest versions? Can you open the jar file and verify that the correct > versions are there? > > --Tom > > > > > On Mon, Aug 25, 2014 at 10:02 AM, Vikas Agarwal <[email protected] > <mailto:[email protected]>> wrote: > Are you killing the topology before uploading new one? > > > On Mon, Aug 25, 2014 at 9:26 PM, Jason Kania <[email protected] > <mailto:[email protected]>> wrote: > Hello, > > I would like to know if anybody knows how to prevent Storm from caching a > previous version of the classes making up a topology. I am hitting problems > where Storm is running old versions of my classes instead of the ones in the > currently supplied jar file. I am having to include version numbers in the > names of my classes to get the desired code to run. > > Thanks, > > Jason > > > > -- > Regards, > Vikas Agarwal > 91 – 9928301411 > > InfoObjects, Inc. > Execution Matters > http://www.infoobjects.com <http://www.infoobjects.com/> > 2041 Mission College Boulevard, #280 > Santa Clara, CA 95054 > +1 (408) 988-2000 <applewebdata://87DA7DED-385F-49ED-B6AA-A6F5568C329B> Work > +1 (408) 716-2726 <applewebdata://87DA7DED-385F-49ED-B6AA-A6F5568C329B> Fax > > >
