[
https://issues.apache.org/jira/browse/TEZ-4344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17739464#comment-17739464
]
Ayush Saxena commented on TEZ-4344:
-----------------------------------
Have created a PR with ThreadDump logic for TezChild. Have added a test,
captured some screenshots from that and attached in the PR.
Open for feedback on further improvements/changes/additions
> Collect jstack periodically from all containers
> -----------------------------------------------
>
> Key: TEZ-4344
> URL: https://issues.apache.org/jira/browse/TEZ-4344
> Project: Apache Tez
> Issue Type: Sub-task
> Reporter: László Bodor
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 1. set a property of interval of seconds (default: 0 ==> off)
> 2. attach jstack files to app logs (this is easy maybe, putting jstack log
> files next to app syslog files can make it included by yarn)
> jstack should have a name like containername_dagname_timestamp
> +option if containers should create jstacks even when idle (don't have a task
> assigned to them), by default they're not supposed to do so
> I don't want to have a jstack dependency for this (configure path, etc.), so
> an internal thread dump facility is preferred with zero configuration.
> Also this doesn't require new endpoints of AM and task containers (like
> TEZ-4345), this can be implemented quite easily.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)