You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Zili Chen (Jira)" <ji...@apache.org> on 2020/03/25 06:37:00 UTC
[jira] [Closed] (FLINK-16625) Extract
BootstrapTools#getEnvironmentVariables to
ConfigurationUtils#getPrefixedKeyValuePairs
[ https://issues.apache.org/jira/browse/FLINK-16625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zili Chen closed FLINK-16625.
-----------------------------
Resolution: Fixed
master(1.11) via f80c3847d854e0d6a62577cd1e998b57b67fc9f6
> Extract BootstrapTools#getEnvironmentVariables to ConfigurationUtils#getPrefixedKeyValuePairs
> ---------------------------------------------------------------------------------------------
>
> Key: FLINK-16625
> URL: https://issues.apache.org/jira/browse/FLINK-16625
> Project: Flink
> Issue Type: Improvement
> Components: API / Core
> Reporter: Canbin Zheng
> Assignee: Canbin Zheng
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.11.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> {{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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)