[jira] [Created] (FLINK-11135) Reduce priority of the deprecated Hadoop specific Flink conf options

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-11135) Reduce priority of the deprecated Hadoop specific Flink conf options

Shang Yuanchun (Jira)
Paul Lin created FLINK-11135:
--------------------------------

             Summary: Reduce priority of the deprecated Hadoop specific Flink conf options
                 Key: FLINK-11135
                 URL: https://issues.apache.org/jira/browse/FLINK-11135
             Project: Flink
          Issue Type: Improvement
    Affects Versions: 1.7.0, 1.6.2
            Reporter: Paul Lin
            Assignee: Paul Lin


In [FLINK-7967] we mark the Hadoop specific Flink configuration options as deprecated and recommend users to use HADOOP_CONF_DIR env variable instead, but if both are configured, Flink would still look for Hadoop configurations in the path specified in Flink configurations first. Plus, the code that searches Hadoop configurations in `fs.hdfs.hadoopconf` is wrongly placed in the env variables section. 

I think the search order should be: HADOOP_CONF_DIR > Flink conf options > HADOOP_HOME.



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