apache / beam

Apache Beam is a unified programming model for Batch and Streaming data processing.
https://beam.apache.org/
Apache License 2.0
7.74k stars 4.21k forks source link

[Task]: FilesToStage breaks Spark on YARN #26692

Open JozoVilcek opened 1 year ago

JozoVilcek commented 1 year ago

What needs to happen?

When I tried to execute Beam pipeline over Spark structured streaming runner on YARN it failed. I did identify to problems:

  1. When FilesToStage kicks in it tries to zip classpath directories and uses pipeline's temp directory. In my case it is HDFS and since PipelineResources.prepareFilesForStaging() uses Java IO it will not work as it does not speak HDFS
  2. Since worker are provided with necessary classes beforehand, it would make sense to me to be able to bypass FilesToStage instead to always had to stage something even when not necessary.

Issue Priority

Priority: 2 (default / most normal work should be filed as P2)

Issue Components

Zawa-ll commented 1 month ago

.take-issue