flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Lin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLINK-11135) Refactor Hadoop config loading in HadoopUtils
Date Mon, 17 Dec 2018 06:05:00 GMT

     [ 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 in HadoopUtils  (was: Refactor Hadoop config loading
order)

> 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 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)

Mime
View raw message