HunterHunter created FLINK-25743:
------------------------------------

             Summary: Parameter flink.yarn.<key> has no effect in yarn-session 
mode with flink-shade-hadoop-2-uber.jar
                 Key: FLINK-25743
                 URL: https://issues.apache.org/jira/browse/FLINK-25743
             Project: Flink
          Issue Type: Bug
          Components: Deployment / YARN
    Affects Versions: 1.14.3, 1.13.3
            Reporter: HunterHunter


When I configured the parameter flink.yarn.resourcemanager.hostname in 
yarn-conf.yaml, and submitted the task using yarn-session mode, I found that 
the task was not submitted to the yarn cluster I set. 2-uber-2.8.3-10.0.jar 
loads flink-default.xml, which contains yarn.resourcemanager.hostname = 0.0.0.0.
In the Utils.getYarnAndHadoopConfiguration method, the configuration of 
flinkConfig is loaded first, and then it is overwritten by the configuration of 
flink-default.xml to make the configuration invalid



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to