FLINK JOB

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

FLINK JOB

Som Lima
Hi,

FLINK JOB  url  defaults to localhost

i.e. localhost:8081.

I have to manually change it to server <ip>:8081 to get Apache  flink  Web Dashboard to display. 




Reply | Threaded
Open this post in threaded view
|

Re: FLINK JOB

Jeff Zhang
How do you run flink job ? It should not always be localhost:8081

Som Lima <[hidden email]> 于2020年4月20日周一 下午4:33写道:
Hi,

FLINK JOB  url  defaults to localhost

i.e. localhost:8081.

I have to manually change it to server <ip>:8081 to get Apache  flink  Web Dashboard to display. 






--
Best Regards

Jeff Zhang
Reply | Threaded
Open this post in threaded view
|

Re: FLINK JOB

Som Lima
I am only running the zeppelin  word count example by clicking the zeppelin run arrow.
 

On Mon, 20 Apr 2020, 09:42 Jeff Zhang, <[hidden email]> wrote:
How do you run flink job ? It should not always be localhost:8081

Som Lima <[hidden email]> 于2020年4月20日周一 下午4:33写道:
Hi,

FLINK JOB  url  defaults to localhost

i.e. localhost:8081.

I have to manually change it to server <ip>:8081 to get Apache  flink  Web Dashboard to display. 






--
Best Regards

Jeff Zhang
Reply | Threaded
Open this post in threaded view
|

Re: FLINK JOB

Jeff Zhang
I see, so you are running flink interpreter in local mode. But you access zeppelin from a remote machine, right ?  Do you mean you can access it after changing localhost to ip ? If so, then I can add one configuration in zeppelin side to replace the localhost to real ip.

Som Lima <[hidden email]> 于2020年4月20日周一 下午4:44写道:
I am only running the zeppelin  word count example by clicking the zeppelin run arrow.
 

On Mon, 20 Apr 2020, 09:42 Jeff Zhang, <[hidden email]> wrote:
How do you run flink job ? It should not always be localhost:8081

Som Lima <[hidden email]> 于2020年4月20日周一 下午4:33写道:
Hi,

FLINK JOB  url  defaults to localhost

i.e. localhost:8081.

I have to manually change it to server <ip>:8081 to get Apache  flink  Web Dashboard to display. 






--
Best Regards

Jeff Zhang


--
Best Regards

Jeff Zhang
Reply | Threaded
Open this post in threaded view
|

Re: FLINK JOB

Som Lima
Yes exactly that is the change I am having to make.  Changing FLINK JOB default localhost to ip of server computer in the browser.

I followed the instructions as per your 
link.

i.e. 0.0.0.0  of zeppelin.server.addr. for remote access.



On Mon, 20 Apr 2020, 10:30 Jeff Zhang, <[hidden email]> wrote:
I see, so you are running flink interpreter in local mode. But you access zeppelin from a remote machine, right ?  Do you mean you can access it after changing localhost to ip ? If so, then I can add one configuration in zeppelin side to replace the localhost to real ip.

Som Lima <[hidden email]> 于2020年4月20日周一 下午4:44写道:
I am only running the zeppelin  word count example by clicking the zeppelin run arrow.
 

On Mon, 20 Apr 2020, 09:42 Jeff Zhang, <[hidden email]> wrote:
How do you run flink job ? It should not always be localhost:8081

Som Lima <[hidden email]> 于2020年4月20日周一 下午4:33写道:
Hi,

FLINK JOB  url  defaults to localhost

i.e. localhost:8081.

I have to manually change it to server <ip>:8081 to get Apache  flink  Web Dashboard to display. 






--
Best Regards

Jeff Zhang


--
Best Regards

Jeff Zhang
Reply | Threaded
Open this post in threaded view
|

Re: FLINK JOB solved

Som Lima
I found the problem.

in the flink1.0.0/conf 

There are two files.
Masters
and slaves

the Masters contains localhost:8081
in the slaves  just localhost.

I changed them both to server  ipaddress.

Now the FLINK JOB link has full <ip>:8081 link and displays Apache Flink Dashboard in browser.




On Mon, 20 Apr 2020, 12:07 Som Lima, <[hidden email]> wrote:
Yes exactly that is the change I am having to make.  Changing FLINK JOB default localhost to ip of server computer in the browser.

I followed the instructions as per your 
link.

i.e. 0.0.0.0  of zeppelin.server.addr. for remote access.



On Mon, 20 Apr 2020, 10:30 Jeff Zhang, <[hidden email]> wrote:
I see, so you are running flink interpreter in local mode. But you access zeppelin from a remote machine, right ?  Do you mean you can access it after changing localhost to ip ? If so, then I can add one configuration in zeppelin side to replace the localhost to real ip.

Som Lima <[hidden email]> 于2020年4月20日周一 下午4:44写道:
I am only running the zeppelin  word count example by clicking the zeppelin run arrow.
 

On Mon, 20 Apr 2020, 09:42 Jeff Zhang, <[hidden email]> wrote:
How do you run flink job ? It should not always be localhost:8081

Som Lima <[hidden email]> 于2020年4月20日周一 下午4:33写道:
Hi,

FLINK JOB  url  defaults to localhost

i.e. localhost:8081.

I have to manually change it to server <ip>:8081 to get Apache  flink  Web Dashboard to display. 






--
Best Regards

Jeff Zhang


--
Best Regards

Jeff Zhang