hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chia-Ping Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16290) Dump summary of callQueue content; can help debugging
Date Tue, 17 Oct 2017 18:05:00 GMT

    [ https://issues.apache.org/jira/browse/HBASE-16290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16208045#comment-16208045

Chia-Ping Tsai commented on HBASE-16290:

You can stub the {{CallRunner#run()}}.
    CallRunner task = mock(CallRunner.class);
    doAnswer(new Answer<Void>() {
      @Override public Void answer(InvocationOnMock invocation) throws Throwable {
        // do what you want
        return null;
For example, you can count the executed task, and then stop it when you are going to verify
the call queue.

> Dump summary of callQueue content; can help debugging
> -----------------------------------------------------
>                 Key: HBASE-16290
>                 URL: https://issues.apache.org/jira/browse/HBASE-16290
>             Project: HBase
>          Issue Type: Bug
>          Components: Operability
>    Affects Versions: 2.0.0
>            Reporter: stack
>            Assignee: Sreeram Venkatasubramanian
>              Labels: beginner
>             Fix For: 2.0.0
>         Attachments: DebugDump_screenshot.png, HBASE-16290.master.001.patch, HBASE-16290.master.002.patch,
HBASE-16290.master.003.patch, HBASE-16290.master.004.patch, HBASE-16290.master.005.patch,
Sample Summary.txt
> Being able to get a clue what is in a backedup callQueue could give insight on what is
going on on a jacked server. Just needs to summarize count, sizes, call types. Useful debugging.
In a servlet?

This message was sent by Atlassian JIRA

View raw message