[ https://issues.apache.org/jira/browse/FLINK-7951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16234440#comment-16234440 ]
ASF GitHub Bot commented on FLINK-7951: --------------------------------------- Github user steveloughran commented on a diff in the pull request: https://github.com/apache/flink/pull/4926#discussion_r148328894 --- Diff: flink-yarn/src/main/java/org/apache/flink/yarn/YarnApplicationMasterRunner.java --- @@ -265,7 +266,8 @@ protected int runApplicationMaster(Configuration config) { } // Hadoop/Yarn configuration (loads config data automatically from classpath files) - final YarnConfiguration yarnConfig = new YarnConfiguration(); + final org.apache.hadoop.conf.Configuration hadoopConfiguration = HadoopUtils.getHadoopConfiguration(config); + final YarnConfiguration yarnConfig = new YarnConfiguration(hadoopConfiguration); --- End diff -- creating the new YarnConfig is sufficient to force yarn-default (yarn-site too? ) onto the property list of all configurations created with loadDefaults=true, which is what you get unless you say "no"). > YarnApplicationMaster does not load HDFSConfiguration > ----------------------------------------------------- > > Key: FLINK-7951 > URL: https://issues.apache.org/jira/browse/FLINK-7951 > Project: Flink > Issue Type: Bug > Components: YARN > Affects Versions: 1.4.0 > Reporter: Till Rohrmann > Assignee: Till Rohrmann > Priority: Critical > Fix For: 1.4.0 > > > When instantiating the {{YarnConfiguration}} we do not load the corresponding > {{HDFSConfiguration}}. This causes that we do not read the {{hdfs-site.xml}}. -- This message was sent by Atlassian JIRA (v6.4.14#64029)