Details
-
Bug
-
Status: Resolved
-
P4
-
Resolution: Fixed
-
Not applicable
Description
Python example under the Executing a Beam pipeline on a Flink Cluster header will throw this error:
TypeError: Runner PipelineOptions() is not a PipelineRunner object or the name of a registered runner
Fix:
import apache_beam as beam from apache_beam.options.pipeline_options import PipelineOptions options = PipelineOptions([ "--runner=FlinkRunner", "--flink_version=1.8", "--flink_master=localhost:8081", "--environment_type=LOOPBACK" ]) with beam.Pipeline(options=options) as p: ...
Attachments
Issue Links
- links to