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

Cannot create single action pipeline

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.1
    • Component/s: Pipelines
    • Labels:
      None
    • Release Notes:
      Fixed an issue that prevented batch pipelines with a single action from being deployed.
    • Rank:
      1|hzzxxj:

      Description

      If you try to deploy a pipeline with just a single action, the backend complains with error:

      Caused by: java.lang.IllegalArgumentException: Cannot create a DAG without any connections
      	at com.google.common.base.Preconditions.checkArgument(Preconditions.java:92) ~[guava-13.0.1.jar:na]
      	at co.cask.cdap.etl.planner.Dag.<init>(Dag.java:51) ~[na:na]
      	at co.cask.cdap.etl.spec.PipelineSpecGenerator.validateConfig(PipelineSpecGenerator.java:300) ~[na:na]
      	at co.cask.cdap.etl.spec.PipelineSpecGenerator.configureStages(PipelineSpecGenerator.java:105) ~[na:na]
      	at co.cask.cdap.etl.batch.BatchPipelineSpecGenerator.generateSpec(BatchPipelineSpecGenerator.java:54) ~[na:na]
      	at co.cask.cdap.etl.batch.BatchPipelineSpecGenerator.generateSpec(BatchPipelineSpecGenerator.java:33) ~[na:na]
      	at co.cask.cdap.datapipeline.DataPipelineApp.configure(DataPipelineApp.java:73) ~[na:na]
      	at co.cask.cdap.api.app.AbstractApplication.configure(AbstractApplication.java:61) ~[na:na]
      	at co.cask.cdap.internal.app.deploy.InMemoryConfigurator.getSpecJson(InMemoryConfigurator.java:165) ~[na:na]
      	at co.cask.cdap.internal.app.deploy.InMemoryConfigurator.createResponse(InMemoryConfigurator.java:134) ~[na:na]
      	at co.cask.cdap.internal.app.deploy.InMemoryConfigurator.config(InMemoryConfigurator.java:124) ~[na:na]
      	at co.cask.cdap.internal.app.deploy.pipeline.LocalArtifactLoaderStage.process(LocalArtifactLoaderStage.java:104) ~[na:na]
      	... 47 common frames omitted
      

        Attachments

          Issue Links

            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: