Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-35332

Manually setting rest.bind-address does not work for Flink running on Hadoop Yarn dual network environment

    XMLWordPrintableJSON

Details

    Description

      Given the Hadoop Yarn cluster with dual networks:

      • 192.168.x.x: For data transfer. Speed: 10Gbps.
      • 10.x.x.x: For management only. Speed: 1Gbps.

       

      A client outside the Hadoop Yarn cluster is configured, with management network only(10.x.x.x) and data transfer high speed network not accessible. To reproduce, we sumbit a Flink job from this client(Batch word count for example), the job can be successfully submitted but the result cannot be retrieved, with the exception: Connection refused: {jobmanager_hostname}:{jm_port}. The root cause is the job manager rest address is bind to its actual address (192.168.x.x) rather than 0.0.0.0. Manually setting rest.bind-address does not work.

       

      One of the changes in Flink-24474 in YarnEntrypointUtils overwrites RestOptions.BIND_ADDRESS to the node's actual address. This change should be reverted.

      Attachments

        Issue Links

          Activity

            People

              paul8263 Yao Zhang
              paul8263 Yao Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: