Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Cannot Reproduce
-
0.10
-
None
-
Don't Know (Unsure) - The default level
Description
Running an OODT system with filemgr, workflow, crawler, resource manager and batch_stub. If you try to dump metadata to a file by setting the "PGETask_DumpMetadata" task property to true as in:
<property name="PGETask_DumpMetadata" value="true"/>
I get the following exception. Note this has ONLY happened to me when my PGETask is launched by resource manager. If I run without resource manager and batch_stub in the loop, I do not get the exception.
Sep 08, 2015 1:25:45 PM org.apache.oodt.cas.resource.system.XmlRpcResourceManagerClient submitJob
FINEST: [
, {task.instance.class=org.apache.oodt.cas.pge.StdPGETaskInstance, task.config=
{PCS_ActionRepoFile=file:/project/oodt/dev/jedi/oodt/crawler/policy/crawler-config.xml, PCS_WorkflowManagerUrl=http://localhost:9001, PCS_ClientTransferServiceFactory=org.apache.oodt.cas.filemgr.datatransfer.LocalDataTransferFactory, PCS_FileManagerUrl=http://localhost:9016, PGETask_DumpMetadata=true, PGETask_MimeExtractorRepo=/project/oodt/dev/jedi/policy/mime-extractor-map.xml, PGETask_ConfigFilePath=/project/oodt/dev/jedi/config/ingestLevel0FilesPGE.config, PGETask_Name=ingestLevel0Files, PCS_CrawlerRecur=true}, task.metadata={TaskId=[urn:oodt:ingestLevel0Files], WorkflowManagerUrl=http://slothrop.jhuapl.edu:9001, JobId=[0457e2a0-5657-11e5-8c0a-4563b5ff1e30], ProcessingNode=[slothrop.jhuapl.edu], WorkflowInstId=[0457e2a0-5657-11e5-8c0a-4563b5ff1e30]}}]
Sep 08, 2015 1:25:45 PM org.apache.oodt.cas.resource.jobqueue.JobStack addJob
INFO: Added Job: [2015-09-08T13:25:45.504-05:00] to queue
Sep 08, 2015 1:25:50 PM org.apache.oodt.cas.resource.scheduler.LRUScheduler run
INFO: Obtained Job: [2015-09-08T13:25:45.504-05:00] from Queue: Scheduling for execution
Sep 08, 2015 1:25:50 PM org.apache.oodt.cas.resource.scheduler.LRUScheduler schedule
INFO: Assigning job: [urn:oodt:ingestLevel0Files] to node: [localhost]
Sep 08, 2015 1:25:50 PM org.apache.oodt.cas.resource.system.extern.XmlRpcBatchStub genericExecuteJob
INFO: stub attempting to execute class: [org.apache.oodt.cas.workflow.structs.TaskJob]
Sep 08, 2015 1:25:51 PM org.apache.oodt.cas.pge.PGETaskInstance createPgeMetadata
INFO: Converting workflow configuration to static metadata...
Sep 08, 2015 1:25:51 PM org.apache.oodt.cas.pge.PGETaskInstance createPgeMetadata
INFO: Loading workflow context metadata...
Sep 08, 2015 1:25:51 PM org.apache.oodt.cas.pge.PGETaskInstance createPgeConfig
INFO: Create PgeConfig...
Sep 08, 2015 1:25:51 PM org.apache.oodt.cas.pge.PGETaskInstance createPgeConfig
INFO: Using default PgeConfigBuilder: org.apache.oodt.cas.pge.config.XmlFilePgeConfigBuilder
Sep 08, 2015 1:25:51 PM org.apache.oodt.cas.pge.PGETaskInstance runPropertyAdders
INFO: Loading/Running property adders...
Sep 08, 2015 1:25:51 PM org.apache.oodt.cas.pge.PGETaskInstance createWorkflowManagerClient
INFO: Creating WorkflowManager client for url http://localhost:9001
Sep 08, 2015 1:25:51 PM org.apache.oodt.cas.pge.PGETaskInstance getWorkflowInstanceId
INFO: Workflow instanceId is [0457e2a0-5657-11e5-8c0a-4563b5ff1e30]
Exception in thread "Thread-2" java.lang.AbstractMethodError: org.apache.xerces.dom.DocumentImpl.getXmlStandalone()Z
at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.setDocumentInfo(DOM2TO.java:377)
at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:131)
at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:98)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:702)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:746)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:359)
at org.apache.oodt.cas.metadata.SerializableMetadata.writeMetadataToXmlStream(SerializableMetadata.java:157)
at org.apache.oodt.cas.pge.PGETaskInstance.dumpMetadataIfRequested(PGETaskInstance.java:286)
at org.apache.oodt.cas.pge.PGETaskInstance.run(PGETaskInstance.java:130)
at org.apache.oodt.cas.workflow.structs.TaskJob.execute(TaskJob.java:102)
at org.apache.oodt.cas.resource.system.extern.XmlRpcBatchStub$RunnableJob.run(XmlRpcBatchStub.java:229)
at java.lang.Thread.run(Thread.java:745)
Sep 08, 2015 1:25:51 PM org.apache.oodt.cas.resource.batchmgr.XmlRpcBatchMgrProxy run
SEVERE: Job execution failed for jobId '2015-09-08T13:25:45.504-05:00' : batchstub.executeJob returned false
java.lang.Exception: batchstub.executeJob returned false
at org.apache.oodt.cas.resource.batchmgr.XmlRpcBatchMgrProxy.run(XmlRpcBatchMgrProxy.java:125)