You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Matthias (Jira)" <ji...@apache.org> on 2021/04/22 12:57:00 UTC
[jira] [Created] (FLINK-22414) Consider {{env.hadoop.conf.dir}}
when looking for the hadoop configuration
Matthias created FLINK-22414:
--------------------------------
Summary: Consider {{env.hadoop.conf.dir}} when looking for the hadoop configuration
Key: FLINK-22414
URL: https://issues.apache.org/jira/browse/FLINK-22414
Project: Flink
Issue Type: Bug
Components: Deployment / YARN, Runtime / Configuration
Affects Versions: 1.12.2, 1.11.3, 1.13.0, 1.14.0
Reporter: Matthias
The option of setting {{env.hadoop.conf.dir}} is allowed to be used as an alternative to setting the environment variable {{HADOOP_CONF_DIR}} based [on the documentation|https://ci.apache.org/projects/flink/flink-docs-stable/deployment/config.html#env-hadoop-conf-dir].
But the variable is not checked when determining the configuration location in the code (see [HadoopUtils.getHadoopConfiguration|https://github.com/apache/flink/blob/ba027e0b3e2cf950cd0bd7fb4f632a9c3449d9ad/flink-filesystems/flink-hadoop-fs/src/main/java/org/apache/flink/runtime/util/HadoopUtils.java#L53]).
This issue is about adding {{env.hadoop.conf.dir}} as an option to specify the Hadoop configuration directory.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)