Github user zentol commented on a diff in the pull request:

    https://github.com/apache/flink/pull/4512#discussion_r132426263
  
    --- Diff: 
flink-yarn/src/main/java/org/apache/flink/yarn/YarnApplicationMasterRunner.java 
---
    @@ -510,8 +511,8 @@ private static Configuration createConfiguration(String 
baseDirectory, Map<Strin
                }
     
                // if a web monitor shall be started, set the port to random 
binding
    -           if (configuration.getInteger(JobManagerOptions.WEB_PORT.key(), 
0) >= 0) {
    -                   configuration.setInteger(JobManagerOptions.WEB_PORT, 0);
    +           if (configuration.getInteger(WebOptions.PORT.key(), 0) >= 0) {
    --- End diff --
    
    drop call to `key()`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to