hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-17065) Perform more effective sorting for RPC Handler Tasks
Date Thu, 10 Nov 2016 18:21:59 GMT
Ted Yu created HBASE-17065:
------------------------------

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


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.3.4#6332)

Mime
View raw message