HBASE-13858 RS/MasterDumpServlet dumps threads before its “Stacks” header

This commit is contained in:
stack 2015-10-09 15:46:22 -07:00
parent 445dbd8a0e
commit 2e593a9d38
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ public class MasterDumpServlet extends StateDumpServlet {
out.println("\n\nStacks:");
out.println(LINE);
out.flush();
PrintStream ps = new PrintStream(response.getOutputStream(), false, "UTF-8");
Threads.printThreadInfo(ps, "");
ps.flush();