I am issuing a GET call to list running jobs on Flink Session.
Another quick question, is there a way to check the port on which my Flink YARN
Session is exposing REST API ?
Because, I could figure out on UI either in YARN Resource Manager / Flink Web
UI of YARN Session the port number I received from Yarn Client using the
command “yarn application -list”
Thanks a lot.
From: Gary Yao <g...@data-artisans.com>
Date: Friday, February 9, 2018 at 9:25 AM
To: Raja Aravapalli <raja.aravapa...@target.com>
Cc: "firstname.lastname@example.org" <email@example.com>
Subject: Re: [EXTERNAL] Re: Flink REST API
Can you tell me the API call that you are trying to issue? If it is not a GET
request, it could be that you are suffering from this bug:
In my case the tracking url shown on the resource manager ui is indeed one that
targets the YARN proxy, i.e., POST/DELETE/PUT requests are not supported.
However, the tracking url obtained from the YARN cli directly refers to the
On Fri, Feb 9, 2018 at 3:54 PM, Raja.Aravapalli
Thanks a lot. I am able to use REST API now.
As you informed, I am able to query REST API, by capturing the tracking-url, I
get by using the command “yarn application -list”
But, however as I observe in the YARN Resource manager UI, I am not able to
query using the tracking url I am observing in YARN Resource Manager. Not sure,
If the Hadoop environment I am on, is using some proxies or etc.
Do you have any thoughts on why this is happening different in YARN command
line Vs YARN Resource Manager ?
Thanks a lot again.
From: Gary Yao <g...@data-artisans.com<mailto:g...@data-artisans.com>>
Date: Friday, February 2, 2018 at 10:20 AM
To: Raja Aravapalli
Subject: [EXTERNAL] Re: Flink REST API
The registered tracking URL of the YARN application can be used to issue HTTP
requests against the REST API. You can retrieve the URL by using the YARN
yarn application -list
In the output, the rightmost column shows the URL, e.g.,
Application-Id ... Tracking-URL
You can also find the tracking URL in the Web UI of the YARN resource manager.
On Thu, Feb 1, 2018 at 9:29 PM, Raja.Aravapalli
I have a triggered a Flink YARN Session on Hadoop yarn.
While I was able to trigger applications and run them. I wish to find the URL
of REST API for the Flink YARN Sesssion I launched.
Can someone please help me point out on how to find the REST API Url for the
Flink on YARN?
Thanks a lot.