You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running TFX pipelines on a Flink cluster using Beam in k8s. However, extra python packages passed to the Flink runner (or rather beam worker side-car) are only installed once per deployment cycle. Example:
Flink is deployed and is up and running
A TFX pipeline starts, submits a job to Flink along with a python whl of custom code and beam ops.
The beam worker installs the package and the pipeline finishes succesfully.
A new TFX pipeline is build where a new beam fn is introduced, the pipline is started and the new whl is submitted as in step 2).
This time, the new package is not being installed in the beam worker causing the job to fail due to a reference which does not exist in the beam worker, since it didn't install the new package.
I started using Flink from beam version 2.27 and it has been an issue all the time.
Imported from Jira BEAM-12792. Original Jira may contain additional context.
Reported by: ConverJens.
The text was updated successfully, but these errors were encountered:
@damccorm@tvalentyn as experts in our ML integrations and Python do you know anything about how these installs work and why it would not occur twice? I guess it has to do with how the portable Flink runner deploys Python SDK harness containers? But wouldn't a fresh container start up for a new pipeline, hence be a clean start?
We actually have an open PR on this: #16658
There was a seemingly working solution, but it had a very strange behavior on GCE VMs which we didn't rootcause, I'll take another look.
I'm running TFX pipelines on a Flink cluster using Beam in k8s. However, extra python packages passed to the Flink runner (or rather beam worker side-car) are only installed once per deployment cycle. Example:
I started using Flink from beam version 2.27 and it has been an issue all the time.
Imported from Jira BEAM-12792. Original Jira may contain additional context.
Reported by: ConverJens.
The text was updated successfully, but these errors were encountered: