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

Hudson commented on HBASE-17065:
--------------------------------

FAILURE: Integrated in Jenkins build HBase-Trunk_matrix #3982 (See 
[https://builds.apache.org/job/HBase-Trunk_matrix/3982/])
HBASE-17065 Perform more effective sorting for RPC Handler Tasks (tedyu: rev 
5e16e23fadc6cbd9474f6924be1a7ce538782bbe)
* (edit) 
hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/common/TaskMonitorTmpl.jamon


> 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
>            Assignee: Reid Chan
>            Priority: Minor
>              Labels: rpc, ui
>             Fix For: 2.0.0-beta-1
>
>         Attachments: HBASE-17065.master.001.patch, Screen Shot 2017-11-01 at 
> 5.38.53 PM.png, 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)

Reply via email to