[
https://issues.apache.org/jira/browse/IMPALA-10160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18072434#comment-18072434
]
ASF subversion and git services commented on IMPALA-10160:
----------------------------------------------------------
Commit de7f610abc4fe7bb74c3ffae5b5369158f4b5eba in impala's branch
refs/heads/master from Michael Smith
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=de7f610ab ]
IMPALA-10160: Add test for kernel_stack_watchdog
IMPALA-13844 registered the Kudu stack trace signal handler, which also
fixed IMPALA-10160 where slow RPCs would trigger the KernelStackWatchdog
to print a stack trace, but no stack trace could be generated because
the signal handler was not installed. Adds a test to avoid regressing.
Change-Id: Iccee582e9a3ea355280bc5ab94462eb76c1cb97d
Reviewed-on: http://gerrit.cloudera.org:8080/24172
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> kernel_stack_watchdog cannot print user stack
> ---------------------------------------------
>
> Key: IMPALA-10160
> URL: https://issues.apache.org/jira/browse/IMPALA-10160
> Project: IMPALA
> Issue Type: Task
> Components: Backend, Test
> Reporter: Sahil Takiar
> Assignee: Michael Smith
> Priority: Major
> Labels: supportability
> Fix For: Impala 5.0.0
>
>
> I've seen this a few times now, the kernel_stack_watchdog is used in a few
> places in the KRPC code and it prints out the kernel + user stack whenever a
> thread is stuck in some method call for too long. The issue is that the user
> stack does not get printed:
> {code}
> W0908 17:15:00.365721 6605 kernel_stack_watchdog.cc:198] Thread 6612 stuck
> at outbound_call.cc:273 for 120ms:
> Kernel stack:
> [<ffffffff810f5126>] futex_wait_queue_me+0xc6/0x130
> [<ffffffff810f5deb>] futex_wait+0x17b/0x280
> [<ffffffff810f7b26>] do_futex+0x106/0x5a0
> [<ffffffff810f8040>] SyS_futex+0x80/0x180
> [<ffffffff816b4fc9>] system_call_fastpath+0x16/0x1b
> [<ffffffffffffffff>] 0xffffffffffffffff
> User stack:
> <Not implemented: unable to take thread stack: signal handler unavailable>
> {code}
> It says that the signal handler of taking the thread stack is unavailable.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]