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

RestClusterClient APIs doesn't work with running Flink application on YARN

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Deployment / YARN
    • None

    Description

      Apache YARN uses web proxy in Resource Manager to expose the endpoints available through the AM process (in this case RestServerEndpoint that run as part of AM). Note: this is in the context of running Flink cluster in YARN application mode.

      For eg: in the case of RestClusterClient#listJobs -

      Standalone listJobs makes the request as - https://<host>:<port>/v1/jobs/overview

      YARN the same request has to be proxified as -  https://<rm-host>:<rm-port>/proxy/<app-id>/v1/jobs/overview?proxyapproved=true

      Attachments

        Activity

          People

            Unassigned Unassigned
            vsowrirajan Venkata krishnan Sowrirajan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: