Hi Yehia , I set "YARN_RESOURCEMANAGER_OPTS" in "<installation folder>/bin/yarn" and i was able to debug.
YARN_RESOURCEMANAGER_OPTS="$YARN_RESOURCEMANAGER_OPTS -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=7089,suspend=n" Regards, Naga Huawei Technologies Co., Ltd. Phone: Fax: Mobile: +91 9980040283 Email: naganarasimh...@huawei.com<mailto:naganarasimh...@huawei.com> Huawei Technologies Co., Ltd. Bantian, Longgang District,Shenzhen 518129, P.R.China http://www.huawei.com ¡This e-mail and its attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! ________________________________ From: Yehia Elshater [y.z.elsha...@gmail.com] Sent: Saturday, August 02, 2014 09:22 To: user@hadoop.apache.org Subject: ResourceManager debugging Hi, I am wondering how to remote debugging Yarn's RM using eclipse. I tried to adding the debugging options "-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=1337" to YARN_OPTS but it did not work. Any suggestions ? Thanks