Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.7
-
None
-
Ubuntu 64, OODT - 0.7, FileConcatenatorPge/pom.xml - OODT dependency 0.7
-
Committer (Medium) - This is for regular contributors/committers
Description
After executing the below command for concatenator CAS PGE example
./wmgr-client --url http://localhost:9001 --operation --sendEvent --eventName fileconcatenator-pge --metaData --key RunID testNumber1
Output shown in the same terminal is "Sending Event SUCCESS". But its not ingesting files, the error behind this can be found in terminals where batch_stub and resmgr are running.
Below is the error from batch_stub
Caused by: org.apache.oodt.cas.workflow.structs.exceptions.WorkflowTaskInstanceException: PGETask FAILED!!! : Failed to build PgeConfig : Failed to parse value: null at org.apache.oodt.cas.pge.PGETaskInstance.run(PGETaskInstance.java:150)
Solution:
1. Make sure that you have cas-filemgr-0.7.jar, cas-workflow-0.7.jar, cas-pge-0.7.jar, cas-pge-0.7.jar in workflow,filemanager and resmgr libs (Got the cas-pge-0.7. jar from ./m2/repository/org/apache/oodt/cas-pge
2. Add the following lines in batch_stub,filemgr,resmgr scripts
-Dorg.apache.oodt.cas.pge.task.metkeys.legacyMode="true" \
-Dorg.apache.oodt.cas.pge.task.status.legacyMode="true" \
and restart all the components.
(Solution suggested by Chris. Mattmann)
(Issue identified and resolved by Renu, Meghamsh)