[
https://issues.apache.org/jira/browse/FLINK-11135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul Lin updated FLINK-11135:
-----------------------------
Description: Currently, Hadoop config search order is: `HADOOP_HOME >
HADOOP_CONF_DIR > Flink configuration entries`. However, YARN client prefers
`HADOOP_CONF_DIR` to `HADOOP_HOME`, so it would result in inconsistency if the
two env variables point to different paths. Hence I propose to refactor the
Hadoop config loading in HadoopUtils, changing the search order to
`HADOOP_CONF_DIR > Flink configuration entries > HADOOP_HOME`. (was:
Currently, Hadoop config search order is: `HADOOP_HOME > HADOOP_CONF_DIR >
Flink configuration entries`. However, YARN client perfers `HADOOP_CONF_DIR` to
`HADOOP_HOME`, so it would result in inconsistency if the two env variables
point to different paths. Hence I propose to refactor the Hadoop config loading
in HadoopUtils, changing the search order to `HADOOP_CONF_DIR > Flink
configuration entries > HADOOP_HOME`.)
> Refactor Hadoop config loading in HadoopUtils
> ---------------------------------------------
>
> Key: FLINK-11135
> URL: https://issues.apache.org/jira/browse/FLINK-11135
> Project: Flink
> Issue Type: Improvement
> Components: YARN
> Affects Versions: 1.6.2, 1.7.0
> Reporter: Paul Lin
> Assignee: Paul Lin
> Priority: Minor
>
> Currently, Hadoop config search order is: `HADOOP_HOME > HADOOP_CONF_DIR >
> Flink configuration entries`. However, YARN client prefers `HADOOP_CONF_DIR`
> to `HADOOP_HOME`, so it would result in inconsistency if the two env
> variables point to different paths. Hence I propose to refactor the Hadoop
> config loading in HadoopUtils, changing the search order to `HADOOP_CONF_DIR
> > Flink configuration entries > HADOOP_HOME`.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)