You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Paul Lin (JIRA)" <ji...@apache.org> on 2018/12/17 06:04:00 UTC

[jira] [Updated] (FLINK-11135) Refactor Hadoop config loading order

     [ https://issues.apache.org/jira/browse/FLINK-11135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Lin updated FLINK-11135:
-----------------------------
    Summary: Refactor Hadoop config loading order  (was: Refactor Hadoop config loading orders)

> Refactor Hadoop config loading order
> ------------------------------------
>
>                 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 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`.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)