You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Fanbin Bu <fa...@coinbase.com> on 2020/01/23 08:24:34 UTC
debug flink in intelliJ on EMR
Hi,
I m following
https://cwiki.apache.org/confluence/display/FLINK/Remote+Debugging+of+Flink+Clusters
to
debug flink program running on EMR.
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
Re: debug flink in intelliJ on EMR
Posted by Arvid Heise <ar...@ververica.com>.
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.
[1] https://www.ssh.com/ssh/tunneling/example
On Thu, Jan 23, 2020 at 9:24 AM Fanbin Bu <fa...@coinbase.com> wrote:
> Hi,
>
> I m following
> https://cwiki.apache.org/confluence/display/FLINK/Remote+Debugging+of+Flink+Clusters to
> debug flink program running on EMR.
>
> 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
>