[
https://issues.apache.org/jira/browse/FLINK-34751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17830877#comment-17830877
]
Ferenc Csaky commented on FLINK-34751:
--------------------------------------
Hi! Would you be able to share how to reproduce the issue?. My understanding
given the description is {{flink list}} fails to list secured Yarn AM
deployments. Is that correct?
> 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
> Components: Deployment / YARN
> 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)