You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Till Rohrmann (JIRA)" <ji...@apache.org> on 2017/07/05 23:07:00 UTC
[jira] [Updated] (FLINK-7109) HadoopUtils#getHadoopConfiguration
should not load global configuration
[ https://issues.apache.org/jira/browse/FLINK-7109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Till Rohrmann updated FLINK-7109:
---------------------------------
Description:
The {{HadoopUtils#getHadoopConfiguration}} should not load the global configuration via {{GlobalConfiguration.loadConfiguration}}. Instead we should pass a valid Flink configuration to the static method. Otherwise, we will load the global configuration whenever {{HadoopUtils#getHadoopConfiguration}} is called.
Usually {{HadoopUtils#getHadoopConfiguration}} is only used by {{HadoopInputFormatBase}}, for example. However with the addition of the {{SecurityConfiguration}}, also this class loads the Hadoop configuration.
was:The {{HadoopUtils#getHadoopConfiguration}} should not load the global configuration via {{GlobalConfiguration.loadConfiguration}}. Instead we should pass a valid Flink configuration to the static method. Otherwise, we will load the global configuration whenever {{HadoopUtils#getHadoopConfiguration}} is called.
> HadoopUtils#getHadoopConfiguration should not load global configuration
> -----------------------------------------------------------------------
>
> Key: FLINK-7109
> URL: https://issues.apache.org/jira/browse/FLINK-7109
> Project: Flink
> Issue Type: Improvement
> Reporter: Till Rohrmann
> Assignee: Till Rohrmann
> Priority: Minor
> Fix For: 1.4.0
>
>
> The {{HadoopUtils#getHadoopConfiguration}} should not load the global configuration via {{GlobalConfiguration.loadConfiguration}}. Instead we should pass a valid Flink configuration to the static method. Otherwise, we will load the global configuration whenever {{HadoopUtils#getHadoopConfiguration}} is called.
> Usually {{HadoopUtils#getHadoopConfiguration}} is only used by {{HadoopInputFormatBase}}, for example. However with the addition of the {{SecurityConfiguration}}, also this class loads the Hadoop configuration.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)