[Swift-devel] Error while parsing XML

Ketan Maheshwari ketancmaheshwari at gmail.com
Tue Nov 22 19:27:17 CST 2011


David,

I tested your fix and am getting another kind of error message which seems
related to the previous issue:

Progress:  time: Tue, 22 Nov 2011 18:35:27 -0600  Submitted:1  Active:1
 Finished successfully:4
Progress:  time: Tue, 22 Nov 2011 18:35:57 -0600  Submitted:1  Active:1
 Finished successfully:4
Progress:  time: Tue, 22 Nov 2011 18:36:01 -0600  Active:2  Finished
successfully:4
Failed to transfer wrapper log for job simsgt-ef6si5jk
Exception in simsgt:
Arguments: [TEST, processed/gridout_TEST, processed/TEST.modelbox,
processed/TEST.fdloc, processed/TEST.cordfile, y]
Host: SGE
Directory: presgt-20111122-1716-alcaldyb/jobs/e/simsgt-ef6si5jk
stderr.txt:

stdout.txt:

----

Caused by: java.util.NoSuchElementException

Exception in simsgt:
Arguments: [TEST, processed/gridout_TEST, processed/TEST.modelbox,
processed/TEST.fdloc, processed/TEST.cordfile, x]
Host: SGE
Directory: presgt-20111122-1716-alcaldyb/jobs/f/simsgt-ff6si5jk
stderr.txt:
stdout.txt:

----

Caused by: java.util.NoSuchElementException

Final status:  time: Tue, 22 Nov 2011 18:36:01 -0600  Initializing:2
 Failed:2  Finished successfully:4
The following errors have occurred:
1. Application mergesgt not executed due to errors in dependencies (2 times)
2. java.util.NoSuchElementException (2 times)


One thing to note here is that this error occured as soon as both of the
Swift tasks became active.

The complete log is here:
http://www.mcs.anl.gov/~ketan/presgt-20111122-1303-btq6sng1.log

Regards,
Ketan

On Mon, Nov 21, 2011 at 8:35 AM, Ketan Maheshwari <
ketancmaheshwari at gmail.com> wrote:

> 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
>
>
>


-- 
Ketan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20111122/76eaebcc/attachment.html>


More information about the Swift-devel mailing list