[
https://issues.apache.org/jira/browse/HBASE-18309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16379127#comment-16379127
]
Andrew Purtell edited comment on HBASE-18309 at 2/27/18 6:59 PM:
-----------------------------------------------------------------
[~zyork] I've done a fair bit of backporting. This doesn't look too bad but
there are some nontrivial issues. There are Java 8 constructs in the code.
These have to go. branch-1 must be compiled with Java 7 for compatibility
guarantee reasons. If you wanted to take this on I think the code wrangling
would take you a day. Pessimistically assuming test failures another day or two
to fully resolve, or perhaps not.
was (Author: apurtell):
[~zyork] I've done a fair bit of backporting. This doesn't look too bad but
there are some nontrivial issues. There are Java 8-isms in the code. These have
to go. branch-1 must be compiled with Java 7 for compatibility guarantee
reasons. If you wanted to take this on I think the code wrangling would take
you a day. Pessimistically assuming test failures another day or two to fully
resolve, or perhaps not.
> Support multi threads in CleanerChore
> -------------------------------------
>
> Key: HBASE-18309
> URL: https://issues.apache.org/jira/browse/HBASE-18309
> Project: HBase
> Issue Type: Improvement
> Reporter: binlijin
> Assignee: Reid Chan
> Priority: Major
> Fix For: 3.0.0, 2.0.0-beta-1
>
> Attachments: HBASE-18309.addendum.patch,
> HBASE-18309.master.001.patch, HBASE-18309.master.002.patch,
> HBASE-18309.master.004.patch, HBASE-18309.master.005.patch,
> HBASE-18309.master.006.patch, HBASE-18309.master.007.patch,
> HBASE-18309.master.008.patch, HBASE-18309.master.009.patch,
> HBASE-18309.master.010.patch, HBASE-18309.master.011.patch,
> HBASE-18309.master.012.patch, space_consumption_in_archive.png
>
>
> There is only one thread in LogCleaner to clean oldWALs and in our big
> cluster we find this is not enough. The number of files under oldWALs reach
> the max-directory-items limit of HDFS and cause region server crash, so we
> use multi threads for LogCleaner and the crash not happened any more.
> What's more, currently there's only one thread iterating the archive
> directory, and we could use multiple threads cleaning sub directories in
> parallel to speed it up.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)