Re: Flink remote debug not working

2018-03-22 Thread Ankit Chaudhary
Thanks a lot Fabian :). I found the information on the configuration page this morning :))) https://ci.apache.org/projects/flink/flink-docs-release-1.4/ops/config.html Cheers, Ankit On Thu, Mar 22, 2018 at 9:56 AM, Fabian Hueske wrote: > Hi Ankit, > > The env.java.opts parameter is used for al

Re: Flink remote debug not working

2018-03-22 Thread Fabian Hueske
Hi Ankit, The env.java.opts parameter is used for all JVMs started by Flink, i.e., JM and TM. Since the JM process is started before the TM, the port is already in use when you start the TM. You can use env.java.opts.taskmanager to pass parameters only for TM JVMs. Best, Fabian 2018-03-20 14

Flink remote debug not working

2018-03-20 Thread Ankit Chaudhary
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=". I am using: env.java.opts: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=" in flink-conf.yaml. When I try to restart