You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Reid Chan (JIRA)" <ji...@apache.org> on 2017/11/01 04:28:00 UTC

[jira] [Commented] (HBASE-17065) Perform more effective sorting for RPC Handler Tasks

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

Reid Chan commented on HBASE-17065:
-----------------------------------

Hi [~tedyu]
i'm working on this, but not have a moment to test, please leave me some time.

> Perform more effective sorting for RPC Handler Tasks
> ----------------------------------------------------
>
>                 Key: HBASE-17065
>                 URL: https://issues.apache.org/jira/browse/HBASE-17065
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Ted Yu
>            Priority: Minor
>              Labels: rpc, ui
>         Attachments: rpc-hdlr-tasks.png
>
>
> Under the 'Show All RPC Handler Tasks' tab, the tasks are not sorted according to the duration they have been in the current state (see picture).
> In TaskMonitorTmpl.jamon :
> {code}
> long now = System.currentTimeMillis();
> Collections.reverse(tasks);
> {code}
> The underlying tasks are backed by CircularFifoBuffer, leading to ineffective sorting.
> We should display tasks with the longest duration (in current state) first.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)