Details
-
Improvement
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
0.16.0
-
None
-
Reviewed
-
The stdout and stderr streams of daemons are redirected to files that are created under the hadoop log directory. Users can now send kill 3 signals to the daemons to get stack traces and thread dumps for debugging.
Description
Copied from internal bug details from Koji:
==========================
Sometimes JobTracker/TaskTracker starts consuming 99% cpu and stops responding to 'jstack' call. In those cases,
usually it still responds to kill -QUIT signal which forces the jvm to dump the stack to stdout.
Please have the stdout of JT/TT redirected to a file.
Adding stderr.
If thread has an uncaught exception, it prints out to stderr and dies.
==========================