Hi Gary,

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>
Date: Friday, February 2, 2018 at 10:20 AM
To: Raja Aravapalli <raja.aravapa...@target.com>
Cc: "user@flink.apache.org" <user@flink.apache.org>
Subject: [EXTERNAL] Re: Flink REST API

Hi Raja,

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
  application_1517585200464_0001 ...

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 
<raja.aravapa...@target.com<mailto:raja.aravapa...@target.com>> wrote:

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.


Reply via email to