Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-6806

org.apache.beam.runners not importing in 2.10 & 2.11

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.10.0, 2.11.0
    • Fix Version/s: 2.11.0
    • Component/s: runner-dataflow
    • Labels:
      None

      Description

      When trying to upgrade our 2.9.0 pipeline to 2.10 or 2.11, all the packages under org.apache.beam.runners disappears (does not load, does not exist), breaking our scripts. This is preventing us from upgrading from 2.9.

      The error:

      The import org.apache.beam.runners cannot be resolved.

      Classes we need:

      org.apache.beam.runners.dataflow.options.DataflowPipelineOptions
      org.apache.beam.runners.dataflow.options.DataflowPipelineWorkerPoolOptions.AutoscalingAlgorithmType

      Relevant POM

      <dependency>
          <groupId>org.apache.beam</groupId>
          <artifactId>beam-sdks-java-core</artifactId>
          <version>2.11.0</version>
      </dependency>
      <dependency>
          <groupId>org.apache.beam</groupId>
          <artifactId>beam-sdks-java-io-google-cloud-platform</artifactId>
          <version>2.11.0</version>
      </dependency>
      <dependency>
          <groupId>org.apache.beam</groupId>
          <artifactId>beam-runners-google-cloud-dataflow-java</artifactId>
          <version>2.11.0</version>
          <scope>runtime</scope>
      </dependency>
      <dependency>
          <groupId>org.apache.beam</groupId>
          <artifactId>beam-runners-direct-java</artifactId>
          <version>2.11.0</version>
          <scope>runtime</scope>
      </dependency>
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              SJAnderson Steven Jon Anderson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: