Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-13896

Should give better log error message when running pipeline with unsupported plugins using cloud profile

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 5.1.0
    • Component/s: None
    • Labels:
    • Rank:
      1|i00faf:

      Description

      Need to give a better indicator in the log error when running a pipeline with unsupported plugin. 

      Perhaps also change the following error message from INFO level to ERROR:

      2018-07-24 15:40:40,013 - INFO  [MapReduceRunner-phase-1:c.c.c.e.b.m.ETLMapReduce@408] - Batch Run finished : status = ProgramState{status=FAILED, failureInfo='Job setup failed : java.lang.IllegalStateException: Transaction is not supported in the current runtime. Cannot set transaction on dataset avro_test
      	at co.cask.cdap.internal.app.runtime.batch.BasicMapReduceTaskContext.startDatasetTransaction(BasicMapReduceTaskContext.java:386)
      	at co.cask.cdap.internal.app.runtime.batch.BasicMapReduceTaskContext.getDataset(BasicMapReduceTaskContext.java:361)
      	at co.cask.cdap.internal.app.runtime.batch.dataset.output.Outputs.transform(Outputs.java:56)
      	at co.cask.cdap.internal.app.runtime.batch.dataset.output.Outputs.transform(Outputs.java:43)
      	at co.cask.cdap.internal.app.runtime.batch.MainOutputCommitter.setupJob(MainOutputCommitter.java:118)
      	at org.apache.hadoop.mapreduce.v2.app.commit.CommitterEventHandler$EventProcessor.handleJobSetup(CommitterEventHandler.java:254)
      	at org.apache.hadoop.mapreduce.v2.app.commit.CommitterEventHandler$EventProcessor.run(CommitterEventHandler.java:234)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      
      '} 

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rsinha Rohit Sinha
                Reporter:
                edwin Edwin Elia
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: