hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brad Childs <...@redhat.com>
Subject Strategies for debugging yarn applications
Date Mon, 25 Aug 2014 19:18:12 GMT
How can I run a Java remote debugger attach against a YARN application?  I'm trying to debug
a Hadoop plugin and wanting to attach a java debugger to code running in one of the NodeManagers.
I've set this:

YARN_OPTS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5431"

But the container is killed before I can attach a debugger.  I'd really like to run in a single-node
setup with one JVM for all processes.

-bc


Mime
View raw message