[Swift-devel] Re: coaster-service -passive null pointer exception

David Kelly davidkelly999 at gmail.com
Tue May 24 14:34:30 CDT 2011


That seems to have done the trick. The workers have started and I have run a
few scripts now. Thank you!

David

On Tue, May 24, 2011 at 2:27 PM, Mihael Hategan <hategan at mcs.anl.gov> wrote:

> Sorry about that. Attempt #2 is in svn.
>
> Mihael
>
> On Tue, 2011-05-24 at 14:15 -0500, David Kelly wrote:
> > Thanks. I gave it a try and this is what I am seeing now:
> >
> > Failed to connect: Connection refused at /home/davidk/work/worker.pl
> > line 300.
> >
> > from coaster.log:
> > Error starting coaster service: null
> > Error starting coaster service
> > java.lang.NullPointerException
> >         at
> >
> org.globus.cog.abstraction.coaster.service.CoasterPersistentService.main(CoasterPersistentService.java:145)
> >
> > David
> >
> > On Tue, May 24, 2011 at 1:57 PM, Mihael Hategan <hategan at mcs.anl.gov>
> > wrote:
> >         I committed a tentative fix to trunk. I won't swear by it, but
> >         please
> >         give it a try and let me know how it works.
> >
> >         Mihael
> >
> >
> >         On Tue, 2011-05-24 at 13:44 -0500, David Kelly wrote:
> >         > Attached is the coaster.log that is being generated, but it
> >         doesn't
> >         > contain much information.
> >         >
> >         > But where it was throwing the exception, I called
> >         getStrackTrace() to
> >         > get more info and saved it. Hope this helps:
> >         >
> >         >
> >
> org.globus.cog.abstraction.coaster.service.job.manager.JobQueue.nextId(JobQueue.java:122)
> >         >
> >
> org.globus.cog.abstraction.coaster.service.LocalTCPService.registrationReceived(LocalTCPService.java:58)
> >         >
> >
> org.globus.cog.abstraction.coaster.service.local.RegistrationHandler.requestComplete(RegistrationHandler.java:41)
> >         >
> >
> org.globus.cog.karajan.workflow.service.handlers.RequestHandler.receiveCompleted(RequestHandler.java:84)
> >         >
> >
> org.globus.cog.karajan.workflow.service.channels.AbstractKarajanChannel.handleRequest(AbstractKarajanChannel.java:390)
> >         >
> >
> org.globus.cog.karajan.workflow.service.channels.AbstractStreamKarajanChannel.step(AbstractStreamKarajanChannel.java:158)
> >         >
> >
> org.globus.cog.karajan.workflow.service.channels.AbstractStreamKarajanChannel$Multiplexer.run(AbstractStreamKarajanChannel.java:377)
> >         >
> >         > David
> >         >
> >         > On Tue, May 24, 2011 at 12:47 PM, Mihael Hategan
> >         <hategan at mcs.anl.gov>
> >         > wrote:
> >         >         Do you have logs or exact stack trace for this?
> >         >
> >         >
> >         >         On Tue, 2011-05-24 at 10:21 -0500, David Kelly
> >         wrote:
> >         >         > Hello,
> >         >         >
> >         >         > When trying to run coaster-service in passive
> >         mode, I get a
> >         >         null
> >         >         > pointer exception when starting worker nodes. This
> >         seems to
> >         >         happen
> >         >         > when the worker node tries to register with the
> >         coaster
> >         >         service. I
> >         >         > get:
> >         >         >
> >         >         > Failed to process data: Failed to register
> >         (service returned
> >         >         error:
> >         >         > java.lang.NullPointerException)
> >         >         at /home/davidk/work/worker.pl line
> >         >         > 762.
> >         >         >
> >         >         > The exception gets thrown from
> >         RegistrationHandler.java.
> >         >         Running a
> >         >         > swift script before starting the workers seems to
> >         be the
> >         >         workaround..
> >         >         > but I think with the -passive option we shouldn't
> >         need to do
> >         >         that
> >         >         > anymore, is that correct?
> >         >         >
> >         >         > Thanks,
> >         >         > David
> >         >         >
> >         >
> >         >
> >         >
> >         >
> >
> >
> >
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20110524/bc61f990/attachment.html>


More information about the Swift-devel mailing list