Is it possible to run Cloud Dataflow with custom packages? -


Is it possible to provision dataflow workers with custom packages? I want to open in a Debian-packed binary from inside computing.

EDIT: To be clear, the package configuration is complicated enough - it is not possible to simply bundle files in files. At some point in the solution, the Debian package should be installed.

This does not clearly support some dataflows. However, some suggestions below are how you can accomplish this. Please keep in mind that things can change in the future, things that can change.

There are two different problems:

  1. Receiving the Debian package on the worker
  2. Installing the Debian package.

For the first issue you can use --filesToStage and specify the path to your Debian package. This will upload the package to GCS and then the work will be downloaded at startup. If you use this option, you should be included in the value of the files for all your JARs, because they will not be included by default if you set it explicitly - FileStorage.

Any file on the Java worker will be available in these files in the following directory (or subdirectory)

  / var / opt / google / dataflow  

or

we

we

Will be required to find the guarantee. Provide no guarantee that these directories will not change in the future; these are the only places used today.

To solve the second problem, you can override yourself from here, you can open it outside the command line and after finding it in the / dataphlau / package, install your Debian package. You can.

Many instances of your DWN running side may be so that you can get conflicts with problems, two processes try to install your package together, I'm not sure that the Debian package system can handle it Or you need explicitly in your code.

This approach is not to use a slight type of - add files to your employees to distribute the package but rather to add it to your starting bundle to bring it to a certain place.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -