[jira] [Created] (FLINK-16625) Extract BootstrapTools#getEnvironmentVariables to a general utility in ConfigurationUtil

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-16625) Extract BootstrapTools#getEnvironmentVariables to a general utility in ConfigurationUtil

Shang Yuanchun (Jira)
Canbin Zheng created FLINK-16625:
------------------------------------

             Summary: Extract BootstrapTools#getEnvironmentVariables to a general utility in ConfigurationUtil
                 Key: FLINK-16625
                 URL: https://issues.apache.org/jira/browse/FLINK-16625
             Project: Flink
          Issue Type: Improvement
          Components: API / Core
            Reporter: Canbin Zheng
             Fix For: 1.11.0


{{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 {{ConfigurationUtil#getPrefixedKeyValuePairs}} and move it to the {{flink-core}} module as a more general utility to share for the YARN/Kubernetes setup.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)