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

Preview pipelines not accepting runtime args

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.1.0, 4.0.1
    • Component/s: Pipelines
    • Labels:
      None
    • Release Notes:
      Fixed an issue where runtime arguments were not being passed correctly for the preview run in the CDAP UI.
    • Rank:
      1|hzzraf:

      Description

      2016-12-19 14:06:53,725 - INFO  [pcontroller-program:default.6ae3972d-c637-11e6-bcf9-000000d579f2.-SNAPSHOT.workflow.DataPipelineWorkflow-6fd85bde-c637-11e6-a00b-000000fe435d:c.c.c.i.a.s.ProgramLifecycleService$1@377] - Program stopped with error program:default.6ae3972d-c637-11e6-bcf9-000000d579f2.-SNAPSHOT.workflow.DataPipelineWorkflow, 6fd85bde-c637-11e6-a00b-000000fe435d
      co.cask.cdap.api.macro.InvalidMacroException: Argument 'file-name' is not defined.
      	at co.cask.cdap.etl.common.DefaultMacroEvaluator.lookup(DefaultMacroEvaluator.java:74) ~[na:na]
      	at co.cask.cdap.internal.app.runtime.plugin.MacroParser.findRightmostMacro(MacroParser.java:116) ~[na:na]
      	at co.cask.cdap.internal.app.runtime.plugin.MacroParser.parse(MacroParser.java:69) ~[na:na]
      	at co.cask.cdap.internal.app.runtime.plugin.MacroParser.parse(MacroParser.java:53) ~[na:na]
      	at co.cask.cdap.internal.app.runtime.plugin.PluginInstantiator.substituteMacros(PluginInstantiator.java:246) ~[na:na]
      	at co.cask.cdap.internal.app.runtime.plugin.PluginInstantiator.newInstance(PluginInstantiator.java:211) ~[na:na]
      	at co.cask.cdap.internal.app.runtime.DefaultPluginContext.newPluginInstance(DefaultPluginContext.java:95) ~[na:na]
      	at co.cask.cdap.internal.app.runtime.AbstractContext.newPluginInstance(AbstractContext.java:390) ~[na:na]
      	at co.cask.cdap.etl.batch.PipelinePluginInstantiator.newPluginInstance(PipelinePluginInstantiator.java:65) ~[na:na]
      	at co.cask.cdap.etl.batch.mapreduce.ETLMapReduce.initialize(ETLMapReduce.java:180) ~[na:na]
      	at co.cask.cdap.api.mapreduce.AbstractMapReduce.initialize(AbstractMapReduce.java:122) ~[na:na]
      	at co.cask.cdap.api.mapreduce.AbstractMapReduce.initialize(AbstractMapReduce.java:33) ~[na:na]
      	at co.cask.cdap.internal.app.runtime.batch.MapReduceRuntimeService.doInitialize(MapReduceRuntimeService.java:561) ~[na:na]
      	at co.cask.cdap.internal.app.runtime.batch.MapReduceRuntimeService.access$100(MapReduceRuntimeService.java:143) ~[na:na]
      	at co.cask.cdap.internal.app.runtime.batch.MapReduceRuntimeService$2.run(MapReduceRuntimeService.java:539) ~[na:na]
      	at co.cask.cdap.internal.app.runtime.AbstractContext$2.run(AbstractContext.java:427) ~[na:na]
      	at co.cask.cdap.data2.transaction.Transactions$CacheBasedTransactional.finishExecute(Transactions.java:242) ~[na:na]
      	at co.cask.cdap.data2.transaction.Transactions$CacheBasedTransactional.execute(Transactions.java:230) ~[na:na]
      	at co.cask.cdap.internal.app.runtime.AbstractContext.execute(AbstractContext.java:422) ~[na:na]
      	at co.cask.cdap.internal.app.runtime.AbstractContext.execute(AbstractContext.java:410) ~[na:na]
      	at co.cask.cdap.internal.app.runtime.batch.MapReduceRuntimeService.beforeSubmit(MapReduceRuntimeService.java:536) ~[na:na]
      	at co.cask.cdap.internal.app.runtime.batch.MapReduceRuntimeService.startUp(MapReduceRuntimeService.java:225) ~[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$1$1.run(MapReduceRuntimeService.java:440) ~[na:na]
      	at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]
      

        Attachments

          Activity

            People

            • Assignee:
              yaojie Yaojie Feng
              Reporter:
              russellsavage Russ Savage
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: