[ 
https://issues.apache.org/jira/browse/FLINK-34751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Venkata krishnan Sowrirajan updated FLINK-34751:
------------------------------------------------
    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{}}}

  was: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.


> RestClusterClient APIs doesn't work with running Flink application on YARN
> --------------------------------------------------------------------------
>
>                 Key: FLINK-34751
>                 URL: https://issues.apache.org/jira/browse/FLINK-34751
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Venkata krishnan Sowrirajan
>            Priority: Major
>
> 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{}}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to