[ https://issues.apache.org/jira/browse/HBASE-17854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
huaxiang sun updated HBASE-17854: --------------------------------- Comment: was deleted (was: Looks good to me, thanks [~carp84]. I checked that the initial capacity for PriorityBlockingQueue is 11 in Java 8, is this too small? Maybe we can add a new constructor for StealJobQueue to specify initialCapacity.) > Use StealJobQueue in HFileCleaner after HBASE-17215 > --------------------------------------------------- > > Key: HBASE-17854 > URL: https://issues.apache.org/jira/browse/HBASE-17854 > Project: HBase > Issue Type: Improvement > Affects Versions: 2.0.0 > Reporter: Yu Li > Assignee: Yu Li > Attachments: HBASE-17854.patch, HBASE-17854.v2.patch, > HBASE-17854.v3.patch > > > In HBASE-17215 we use specific threads for deleting large/small (archived) > hfiles, and will improve it from below aspects in this JIRA: > 1. Using {{StealJobQueue}} to allow large file deletion thread to steal jobs > from small queue, based on the experience that in real world there'll be much > more small hfiles > 2. {{StealJobQueue}} is a kind of {{PriorityQueue}}, so we could also delete > from the larger file in the queues. -- This message was sent by Atlassian JIRA (v6.3.15#6346)