debug flink in intelliJ on EMR

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

debug flink in intelliJ on EMR

Fanbin Bu
Hi,


how do I specify the host in the `edit configurations` if the terminal on emr master is 
hadoop@ip-10-200-46-186
?

Thanks,
Fanbin
Reply | Threaded
Open this post in threaded view
|

Re: debug flink in intelliJ on EMR

Arvid Heise-3
Hi Fanbin,

the host should be the external IP of your master node. However, usually the port 5005 is not open in EMR (you could any other open, non-used port).

Alternatively, you could use a SSH port forwarding [1]:
ssh -L <some port>:<emr address>:5005
And then connect to localhost:<some port> in your IDE.


On Thu, Jan 23, 2020 at 9:24 AM Fanbin Bu <[hidden email]> wrote:
Hi,


how do I specify the host in the `edit configurations` if the terminal on emr master is 
hadoop@ip-10-200-46-186
?

Thanks,
Fanbin