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

Misleading error log on pipeline failure

    XMLWordPrintableJSON

    Details

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

      Description

      If a pipeline fails before it can initialize, there will be a NPE when running the destroy method:

      java.lang.NullPointerException: null
      	at co.cask.cdap.etl.batch.mapreduce.ETLMapReduce.destroy(ETLMapReduce.java:411) ~[na:na]
      	at co.cask.cdap.internal.app.runtime.batch.MapReduceRuntimeService$1.destroy(MapReduceRuntimeService.java:213) ~[na:na]
      	at co.cask.cdap.internal.app.runtime.AbstractContext.execute(AbstractContext.java:583) ~[na:na]
      	at co.cask.cdap.internal.app.runtime.AbstractContext.destroyProgram(AbstractContext.java:650) ~[na:na]
      	at co.cask.cdap.internal.app.runtime.batch.MapReduceRuntimeService.destroy(MapReduceRuntimeService.java:613) [na:na]
      	at co.cask.cdap.internal.app.runtime.batch.MapReduceRuntimeService.lambda$createCleanupTask$0(MapReduceRuntimeService.java:1191) [na:na]
      	at co.cask.cdap.internal.app.runtime.batch.MapReduceRuntimeService.startUp(MapReduceRuntimeService.java:387) [na:na]
      	at com.google.common.util.concurrent.AbstractExecutionThreadService$1$1.run(AbstractExecutionThreadService.java:47) ~[com.google.guava.guava-13.0.1.jar:na]
      	at co.cask.cdap.internal.app.runtime.batch.MapReduceRuntimeService$2$1.run(MapReduceRuntimeService.java:473) ~[na:na]
      	at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_151-google-v7]
      

        Attachments

          Activity

            People

            • Assignee:
              ashau Albert Shau
              Reporter:
              ashau Albert Shau
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: