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<http://www.gs.com/privacy-notices>

Reply via email to