[ 
https://issues.apache.org/jira/browse/FLINK-21981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17310327#comment-17310327
 ] 

Xintong Song commented on FLINK-21981:
--------------------------------------

Why do you think `env.hadoop.conf.dir` is better?

I don't have a strong opinion on the priorities of the two options. However, 
I'd rather not to introduce any behavior changes, unless there's a very good 
reason.

The priorities of the two options have been the current way since 2017 and 
there could be many users using these options. Changing the priorities may 
cause these users problems when they upgrade their flink version, which could 
be hard to debug.

> Increase the priority of the parameter in flink-conf
> ----------------------------------------------------
>
>                 Key: FLINK-21981
>                 URL: https://issues.apache.org/jira/browse/FLINK-21981
>             Project: Flink
>          Issue Type: Bug
>          Components: Client / Job Submission
>            Reporter: Bo Cui
>            Priority: Major
>
> in my cluster, env has HADOOP_CONF_DIR and YARN_CONF_DIR, but they are hadoop 
> and yarn conf, not flink conf. and hadoop conf of flink(env.hadoop.conf.dir) 
> is different from them. so we should use `env.hadoop.conf.dir` first
> https://github.com/apache/flink/blob/57e93c90a14a9f5316da821863dd2b335a8f86e0/flink-dist/src/main/flink-bin/bin/config.sh#L256



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to