You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drat.apache.org by GitBox <gi...@apache.org> on 2018/07/14 21:38:45 UTC

[GitHub] buggtb opened a new issue #139: PGE failure

buggtb opened a new issue #139: PGE failure
URL: https://github.com/apache/drat/issues/139
 
 
   So i'm running it now and its working in terms of the Crawl via proteus. 
   
   What I do see in the logs though is 
   
   ```
   SEVERE: PGETask FAILED!!! : Failed to build PgeConfig : Failed to parse value: SQL(FORMAT='$FileLocation/$Filename',SORT_BY='CAS.ProductReceivedTime'){SELECT FileLocation,Filename,CAS.ProductReceivedTime FROM RatLog}
   java.io.IOException: Failed to build PgeConfig : Failed to parse value: SQL(FORMAT='$FileLocation/$Filename',SORT_BY='CAS.ProductReceivedTime'){SELECT FileLocation,Filename,CAS.ProductReceivedTime FROM RatLog}
   	at org.apache.oodt.cas.pge.config.XmlFilePgeConfigBuilder.build(XmlFilePgeConfigBuilder.java:68)
   	at org.apache.oodt.cas.pge.PGETaskInstance.createPgeConfig(PGETaskInstance.java:217)
   	at org.apache.oodt.cas.pge.PGETaskInstance.run(PGETaskInstance.java:109)
   	at org.apache.oodt.cas.workflow.engine.IterativeWorkflowProcessorThread.executeTaskLocally(IterativeWorkflowProcessorThread.java:573)
   	at org.apache.oodt.cas.workflow.engine.IterativeWorkflowProcessorThread.run(IterativeWorkflowProcessorThread.java:324)
   	at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
   	at java.lang.Thread.run(Thread.java:748)
   Caused by: org.apache.oodt.cas.pge.exceptions.PGEException: Failed to parse value: SQL(FORMAT='$FileLocation/$Filename',SORT_BY='CAS.ProductReceivedTime'){SELECT FileLocation,Filename,CAS.ProductReceivedTime FROM RatLog}
   	at org.apache.oodt.cas.pge.util.XmlHelper.fillIn(XmlHelper.java:461)
   	at org.apache.oodt.cas.pge.util.XmlHelper.fillIn(XmlHelper.java:439)
   	at org.apache.oodt.cas.pge.util.XmlHelper.getMetadataValues(XmlHelper.java:204)
   	at org.apache.oodt.cas.pge.config.XmlFilePgeConfigBuilder.loadCustomMetadata(XmlFilePgeConfigBuilder.java:146)
   	at org.apache.oodt.cas.pge.config.XmlFilePgeConfigBuilder.loadConfigFile(XmlFilePgeConfigBuilder.java:101)
   	at org.apache.oodt.cas.pge.config.XmlFilePgeConfigBuilder.build(XmlFilePgeConfigBuilder.java:64)
   	... 6 more
   Caused by: org.apache.oodt.cas.filemgr.structs.exceptions.CatalogException: org.apache.xmlrpc.XmlRpcException: java.lang.Exception: org.apache.oodt.cas.filemgr.structs.exceptions.CatalogException: Failed to perform complex query : null
   	at org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient.complexQuery(XmlRpcFileManagerClient.java:997)
   	at org.apache.oodt.cas.pge.util.XmlHelper.fillIn(XmlHelper.java:456)
   	... 11 more
   Caused by: org.apache.xmlrpc.XmlRpcException: java.lang.Exception: org.apache.oodt.cas.filemgr.structs.exceptions.CatalogException: Failed to perform complex query : null
   	at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeException(XmlRpcClientResponseProcessor.java:104)
   	at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeResponse(XmlRpcClientResponseProcessor.java:71)
   	at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:73)
   	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:194)
   	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:185)
   	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:178)
   	at org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient.complexQuery(XmlRpcFileManagerClient.java:992)
   	... 12 more
   ```
   Looking at it in a debugger its because 
   
   https://github.com/apache/oodt/blob/release-1.2.2/filemgr/src/main/java/org/apache/oodt/cas/filemgr/system/XmlRpcFileManager.java#L1431-L1440
   
   returns null and the query is empty, it seems. But I can trace that same method back to OODT 1.0 and before and its not changed, so has DRAT always reported this, or is this something new?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services