You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Canbin Zheng (Jira)" <ji...@apache.org> on 2020/03/17 02:04:00 UTC
[jira] [Created] (FLINK-16625) Extract
BootstrapTools#getEnvironmentVariables to a general utility in
ConfigurationUtil
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)