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

Duo Zhang commented on HBASE-18778:
-----------------------------------

For ThreadPoolExecutor, if there are available core threads, then the task will 
be executed directly without inserting into the queue, so I do not think the 
size of the queue should be calculated by thread count.

Thanks.

> Use Comparator for StealJobQueue
> --------------------------------
>
>                 Key: HBASE-18778
>                 URL: https://issues.apache.org/jira/browse/HBASE-18778
>             Project: HBase
>          Issue Type: Improvement
>          Components: Compaction
>    Affects Versions: 3.0.0, 2.0.0-alpha-2
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>             Fix For: 3.0.0, 2.0.0-alpha-3
>
>         Attachments: HBASE-18778.patch
>
>
> To eliminate the confusing compareTo and equals implementation.



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

Reply via email to