Hello Quanlong Huang, Riza Suminto, Pranav Lodha, Surya Hebbar, Michael Smith, 
Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/23652

to look at the new patch set (#4).

Change subject: IMPALA-13844: Add /stacks web page to dump native thread stacks
......................................................................

IMPALA-13844: Add /stacks web page to dump native thread stacks

Kudu 1.7 introduced a utility (KUDU-2291) and a /stacks web page
for dumping stack traces of all native threads. Impala already
has the corresponding debug util ported from Kudu, so this patch
adds a similar /stacks endpoint to Impala’s WebUI.

This enables developers to easily inspect thread states and
diagnose deadlocks or hangs via the web interface.

Testing:
Added unit tests to verify that the /stacks endpoint
is available and returns valid thread stack information.

TODO:
Add jstack output to the /stacks handler via a parameter like
`/stacks?include_jvm=true`. Note that `JniUtil.java` currently uses
`ThreadMXBean.dumpAllThreads()`, but Java’s `ThreadInfo` does not
expose native thread IDs (nids), limiting correlation with
native stacks.

Change-Id: I9171c89d1d36726d98a4a61ca040d69254f50e92
---
M be/src/common/init.cc
M be/src/util/default-path-handlers.cc
M be/src/util/thread.cc
M be/src/util/thread.h
M tests/webserver/test_web_pages.py
M www/threadz.tmpl
6 files changed, 215 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/52/23652/4
--
To view, visit http://gerrit.cloudera.org:8080/23652
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I9171c89d1d36726d98a4a61ca040d69254f50e92
Gerrit-Change-Number: 23652
Gerrit-PatchSet: 4
Gerrit-Owner: Arnab Karmakar <[email protected]>
Gerrit-Reviewer: Arnab Karmakar <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Pranav Lodha <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Riza Suminto <[email protected]>
Gerrit-Reviewer: Surya Hebbar <[email protected]>

Reply via email to