yarn will assign a random port when flink is deployed. To get the port you
need to do a yarn application -list and see the tracking url assigned to
your flink cluster. The port in that url will be the port you need to use
for the rest api.

On Tue, Jun 16, 2020 at 08:49 aj <ajainje...@gmail.com> wrote:

> Ok, thanks for the clarification on yarn session.
>
>  I am trying to connect to job manager on 8081 but it's not connecting.
>
> [image: image.png]
>
>
> So this is the address shown on my Flink job UI and i am trying to connect
> rest address on 8081 but its refusing connection.
>
> On Tue, Jun 9, 2020 at 1:03 PM Andrey Zagrebin <azagre...@apache.org>
> wrote:
>
>> Hi Anuj,
>>
>> Afaik, the REST API should work for both modes. What is the issue? Maybe,
>> some network problem to connect to YARN application master?
>>
>> Best,
>> Andrey
>>
>> On Mon, Jun 8, 2020 at 4:39 PM aj <ajainje...@gmail.com> wrote:
>>
>>> I am running some stream jobs that are long-running always. I am
>>> currently submitting each job as a standalone job on yarn.
>>>
>>> 1. I need to understand what is the advantage of using yarn-session and
>>> when should I use that.
>>> 2. Also, I am not able to access rest API services is it because I am
>>> running as standalone job over yarn. Is REST API works only in yarn-session?
>>>
>>>
>>> --
>>> Thanks & Regards,
>>> Anuj Jain
>>>
>>>
>>> <http://www.cse.iitm.ac.in/%7Eanujjain/>
>>>
>>
>
> --
> Thanks & Regards,
> Anuj Jain
> Mob. : +91- 8588817877
> Skype : anuj.jain07
> <http://www.oracle.com/>
>
>
> <http://www.cse.iitm.ac.in/%7Eanujjain/>
>

Reply via email to