Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
Description
BootstrapTools#getEnvironmentVariables actually is a general utility to extract key-value pairs with specified prefix trimmed from the Flink Configuration object. It can not only be used to extract customized environment variables in the YARN setup but also for customized annotations/labels/node-selectors in the Kubernetes setup.
This ticket proposes to rename it to ConfigurationUtils#getPrefixedKeyValuePairs and move it to the flink-core module as a more general utility to share for the YARN/Kubernetes setup.
Attachments
Issue Links
- links to