Open
Description
What happened?
Steps to reproduce the issue:
- Go to https://colab.research.google.com/
- Create a new notebook
- Install beam
!pip3 install apache-beam[gcp]
- ignore any warnings and no need to restart the session
- Do this in a cell:
import apache_beam as beam
from apache_beam.runners.portability.prism_runner import PrismRunner
with beam.Pipeline(runner=PrismRunner()) as p:
N =5
p | "Create Elements" >> beam.Create(range(N)) | "Squares" >> beam.Map(lambda x: x**2) | "Print" >> beam.Map(print)
- the first run should work well but if you run the cell second time, the below error occurs:
OSError: [Errno 26] Text file busy: '/root/.apache_beam/cache/prism/bin/apache_beam-v2.61.0-prism-linux-amd64'

- Check the running process:

/root/.apache_beam/cache/prism/bin/apache_beam-v2.61.0-prism-linux-amd64
is still running. If you kill this process, step 5 will run fine.
Issue Priority
Priority: 2 (default / most bugs should be filed as P2)
Issue Components
- Component: Python SDK
- Component: Java SDK
- Component: Go SDK
- Component: Typescript SDK
- Component: IO connector
- Component: Beam YAML
- Component: Beam examples
- Component: Beam playground
- Component: Beam katas
- Component: Website
- Component: Infrastructure
- Component: Spark Runner
- Component: Flink Runner
- Component: Samza Runner
- Component: Twister2 Runner
- Component: Hazelcast Jet Runner
- Component: Google Cloud Dataflow Runner