Hi Raj, Have you restarted the cluster? You need to restart the cluster to apply changes in flink-config.yaml.
You can also set suspend=y in the debug argument so that task managers will pause and wait for the connection of Intellij before going on. Raj, Smriti <smriti.x....@gs.com> 于2019年8月22日周四 上午11:06写道: > Hello, > > > > I added this to the command line argument > > > -Denv.java.opts.taskmanager="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=6005" > > > > and also tried adding the below to the flink-config.yaml > > env.java.opts.taskmanager: > -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=6005 > > > > Set -yn 1 -ys 1 while running on the cluster > > > > Got the taskmanager details from > > > http://d64264-013.dc.gs.com:44493/#/taskmanager/container_e137_1566093683345_327836_01_000002/metrics > > > > Added remote debugger in Intellij but I get the below error > > Error running 'd64264-013.dc.gs.com': Unable to open debugger port ( > d64264-013.dc.gs.com:6005): java.net.ConnectException "Connection > refused: connect" > > > > I am trying to debug code on the task manager. Please let me know if there > is something I am missing or something I need to change. > > > > Thanks, > > Smriti > > > > ------------------------------ > > Your Personal Data: We may collect and process information about you that > may be subject to data protection laws. For more information about how we > use and disclose your personal data, how we protect your information, our > legal basis to use your information, your rights and who you can contact, > please refer to: www.gs.com/privacy-notices >