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

Bo Cui commented on FLINK-21981:
--------------------------------

the client side has 2 hdfs-silt (default hdfs-site and flink hdfs-site, they 
are not the same )

and HADOOP_CONF_DIR=default hdfs-site, and HDADOOP_CONF_DIR cannot be modified 
in multi-tenant scenarios.

so i think Preferential use of `env.hadoop.conf.dir` may be better.

 

 

> 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