[ 
https://issues.apache.org/jira/browse/OOZIE-1388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rohini Palaniswamy updated OOZIE-1388:
--------------------------------------

    Attachment: OOZIE-1388-4.patch

Tucu,
  You are right. Found ThreadDumpServlet in 
http://metrics.codahale.com/manual/servlets/#manual-servlets which provides 
text output of thread dump. We can add that as well later by providing a 
queryparam for plain output to this servlet and can invoke ThreadDumpServlet 
and return its output in that case. We have this servlet in production for 
months now and I have found it quite useful in debugging in production issues 
and especially the html is very easy to navigate and faster for debugging. 

> Add a admin servlet to show thread stack trace and CPU usage per thread
> -----------------------------------------------------------------------
>
>                 Key: OOZIE-1388
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1388
>             Project: Oozie
>          Issue Type: Improvement
>            Reporter: Rohini Palaniswamy
>            Assignee: Rohini Palaniswamy
>             Fix For: trunk
>
>         Attachments: JVM_Info_Snapshot.html, OOZIE-1388-1.patch, 
> OOZIE-1388-2.patch, OOZIE-1388-3.patch, OOZIE-1388-4.patch
>
>
> ThreadMXBean can be used to display the stack trace and also CPU usage per 
> thread. The servlet will be very useful for debugging.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to