hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lucene-hadoop Wiki] Update of "HowToDebugMapReducePrograms" by OwenOMalley
Date Wed, 09 Aug 2006 23:06:14 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-hadoop Wiki" for change notification.

The following page has been changed by OwenOMalley:

  There is also a configuration variable (keep.task.files.pattern) that will let you specify
a task to keep by name, even if it doesn't fail. Other than that, logging is your friend.
+ == Other Java Debugging hints ==
+ To print information about the state of the threads in a Java program including:
+   * Call stack
+   * Locks held
+   * Deadlocks
+ Send a QUIT signal to the Java process:
+ {{{
+ kill -QUIT <pid>
+ }}}
+ The output is sent to stdout.
+ If that doesn't work because the output is being sent to /dev/null, you can also use the
+  * '''jps''': List your java processes 
+  * '''jstack''': Get the call stack for a given Java process
+ These commands were first included in Sun's Java 1.5.

View raw message