You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Lars Volker (JIRA)" <ji...@apache.org> on 2017/11/15 23:36:00 UTC

[jira] [Created] (IMPALA-6189) Guard blocking function calls with a kernel watchdog

Lars Volker created IMPALA-6189:
-----------------------------------

             Summary: 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


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
(v6.4.14#64029)