[Swift-devel] Error while parsing XML
Ketan Maheshwari
ketancmaheshwari at gmail.com
Mon Nov 21 08:35:41 CST 2011
David,
Yes, I see this happening everytime more than one task is active. I looked
up the web about this and this page seems to be relavant:
http://www.danielschneller.com/2008/01/saxparseexception-1-1-premature-end-of.html
It seems that while reusing the xml stream for probing the job status, the
error occurs. The above article suggests to make a copy of each task-status
stream and read from it.
If you are around today, let's look into it together.
Regards,
Ketan
On Sun, Nov 20, 2011 at 4:05 PM, David Kelly <davidk at ci.uchicago.edu> wrote:
>
> I haven't run into this one yet, but I will take a look at this and the
> other SGE issues tomorrow. Does this happen every time?
>
> David
>
> ----- Original Message -----
> > From: "Ketan Maheshwari" <ketancmaheshwari at gmail.com>
> > To: "Swift Devel" <swift-devel at ci.uchicago.edu>
> > Sent: Sunday, November 20, 2011 11:02:02 AM
> > Subject: [Swift-devel] Error while parsing XML
> > I am seeing this error message at runtime on the SCEC workflow:
> >
> >
> >
> > Progress: time: Sun, 20 Nov 2011 10:20:51 -0600 Active:2 Finished
> > successfully:4
> > [Fatal Error] :-1:-1: Premature end of file.
> > org.xml.sax.SAXParseException: Premature end of file.
> > at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
> > at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
> > at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
> > at
> >
> org.globus.cog.abstraction.impl.scheduler.sge.QueuePoller.processStdout(QueuePoller.java:191)
> > at
> >
> org.globus.cog.abstraction.impl.scheduler.common.AbstractQueuePoller.pollQueue(AbstractQueuePoller.java:170)
> > at
> >
> org.globus.cog.abstraction.impl.scheduler.common.AbstractQueuePoller.run(AbstractQueuePoller.java:82)
> > at java.lang.Thread.run(Thread.java:619)
> > Progress: time: Sun, 20 Nov 2011 10:21:02 -0600 Active:1 Finished
> > successfully:4 Failed but can retry:1
> > Exception in simsgt:
> > Arguments: [TEST, processed/gridout_TEST, processed/TEST.modelbox,
> > processed/TEST.fdloc, processed/TEST.cordfile, x]
> > Host: SGE
> > Directory: presgt-20111120-0852-n6cze3l8/jobs/d/simsgt-dlogn1jk
> > stderr.txt:
> > stdout.txt:
> >
> >
> > ----
> >
> >
> > Caused by: java.io.IOException: Error while parsing XML
> >
> >
> >
> >
> > Exception in simsgt:
> > Arguments: [TEST, processed/gridout_TEST, processed/TEST.modelbox,
> > processed/TEST.fdloc, processed/TEST.cordfile, y]
> > Host: SGE
> > Directory: presgt-20111120-0852-n6cze3l8/jobs/e/simsgt-elogn1jk
> > stderr.txt:
> > stdout.txt:
> >
> >
> > ----
> >
> >
> > Caused by: java.io.IOException: Error while parsing XML
> >
> >
> >
> >
> > Final status: time: Sun, 20 Nov 2011 10:21:02 -0600 Failed:2 Finished
> > successfully:4
> > The following errors have occurred:
> > 1. java.io.IOException: Error while parsing XML (2 times)
> >
> >
> >
> >
> > The log is:
> > http://www.mcs.anl.gov/~ketan/presgt-20111120-0852-n6cze3l8.log
> >
> >
> > It shows the same error message at the end of the log. Does anyone
> > else see this?
> >
> >
> >
> > --
> > Ketan
> >
> >
> >
> > _______________________________________________
> > Swift-devel mailing list
> > Swift-devel at ci.uchicago.edu
> > https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel
>
--
Ketan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20111121/d81e8785/attachment.html>
More information about the Swift-devel
mailing list