[ 
https://issues.apache.org/jira/browse/IMPALA-6189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16680577#comment-16680577
 ] 

Dinesh Garg commented on IMPALA-6189:
-------------------------------------

Triage logs : [~bharathv] had a patch a while back. Todd suggested a diffrent 
approach, [~bharathv] to further look into this.

> Guard blocking function calls with a kernel watchdog
> ----------------------------------------------------
>
>                 Key: IMPALA-6189
>                 URL: https://issues.apache.org/jira/browse/IMPALA-6189
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Backend
>            Reporter: Lars Volker
>            Assignee: bharath v
>            Priority: Major
>              Labels: observability, supportability
>
> Kudu uses a [watchdog 
> thread|https://github.com/apache/kudu/blob/master/src/kudu/util/kernel_stack_watchdog.h]
>  to log warning about threads that seem stuck.
> {quote}
> Before performing some operation which may stall (eg IO) or which we expect 
> should be short (e.g. a callback on a critical thread that should not block), 
> threads may mark themselves as "watched", with a threshold beyond which they 
> would like warnings to be emitted including their stack trace at that time.
> {quote}
> We already pulled kudu/util into our codebase and it seems after starting a 
> watchdog thread we should be able to use this, too.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to