-
Notifications
You must be signed in to change notification settings - Fork 11
Description
I am getting following error when using 'MapReduceManager mrManager = appManager.getMapReduceManager()' with co.cask.cdap.etl.proto.v2.ETLStage and co.cask.cdap.proto.artifact.AppRequest.
java.lang.RuntimeException: co.cask.cdap.common.ProgramNotFoundException: 'program:default.XMLParserTest.mapreduce.ETLMapReduce' was not found.
at co.cask.cdap.client.ProgramClient.getStatus(ProgramClient.java:269)
at co.cask.cdap.test.remote.RemoteApplicationManager.startProgram(RemoteApplicationManager.java:127)
at co.cask.cdap.test.AbstractProgramManager.start(AbstractProgramManager.java:49)
at co.cask.cdap.test.AbstractProgramManager.start(AbstractProgramManager.java:44)
at co.cask.cdap.app.etl.batch.XMLParserTest.testXPathArray(XMLParserTest.java:376)However, when I use 'MapReduceManager mrManager = appManager.getMapReduceManager()' with the deprecated classes ETLStage (co.cask.cdap.etl.common.ETLStage) and AppRequest(co.cask.cdap.etl.batch.config.ETLBatchConfig), I am able to check the failed status and the test case passes on both standalone and cluster.
We need to figure out if there is something wrong with the new ETLStage classes or how they're handled in integration tests.