Hey Guys,

>From flink 1.4.+ onwards , I some how not able to use JVM args for remote
debug, i.e.,
"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=<xxxx>".

I am using: env.java.opts:
"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=<xxxx>" in
flink-conf.yaml. When I try to restart the cluster, the task managers are
not started back again.

In the out log of the task managers, I can see following error:

ERROR: transport error 202: bind failed: Address already in use
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized
[debugInit.c:750]

Now, when I try to find the process where the port is already used, I find
that the PID belongs to the job manager process. Is this intended behavior
or I am missing something?

Regards, Ankit

Reply via email to