[
https://issues.apache.org/jira/browse/HBASE-18084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16020580#comment-16020580
]
Yu Li commented on HBASE-18084:
-------------------------------
bq. Replace it with Long.compare(long x, long y)?
What's the reason please? I could find quite a lot primitive long comparison
such as {{HRegion#isFlushSize}}
{code}
private boolean isFlushSize(final long size) {
return size > this.memstoreFlushSize;
}
{code}
Thanks.
Will wait for another day to commit this one, but to be honest, I think we have
spent too much time here for a simple enough change.
> Improve CleanerChore to clean from directory which consumes more disk space
> ---------------------------------------------------------------------------
>
> Key: HBASE-18084
> URL: https://issues.apache.org/jira/browse/HBASE-18084
> Project: HBase
> Issue Type: Bug
> Reporter: Yu Li
> Assignee: Yu Li
> Attachments: HBASE-18084.patch, HBASE-18084.v2.patch
>
>
> Currently CleanerChore cleans the directory in dictionary order, rather than
> from the directory with largest space usage. And when data abnormally
> accumulated to some huge volume in archive directory, the cleaning speed
> might not be enough.
> This proposal is another improvement working together with HBASE-18083 to
> resolve our online issue (archive dir consumed more than 1.8PB SSD space)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)