You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yang Wang (Jira)" <ji...@apache.org> on 2022/01/21 06:51:00 UTC
[jira] [Commented] (FLINK-25743) Parameter flink.yarn. has no effect in yarn-session mode with flink-shade-hadoop-2-uber.jar
[ https://issues.apache.org/jira/browse/FLINK-25743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17479861#comment-17479861 ]
Yang Wang commented on FLINK-25743:
-----------------------------------
I believe the flink.yarn.<key> config option could work as expected. And you should use {{yarn.resourcemanager.address}} not the {{yarn.resourcemanager.hostname.}}
> 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.13.3, 1.14.3
> Reporter: HunterHunter
> Priority: Major
>
> 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)