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

Yu Li commented on HBASE-18309:
-------------------------------

bq. New simulation first creates 10 dirs under oldWALs...
Thanks for the additional testing, I think the screenshot I pasted could 
further explain why we need the sorting.

bq. Do you think it is ok to borrow the idea of HFileCleaner? Or a general way 
would work?
I think we don't need to separate large/small threads for wals since their 
rolling size is unified, a general multi-thread way would work.

And good to know the progress, good job [~reidchan].

> Support multi threads in CleanerChore
> -------------------------------------
>
>                 Key: HBASE-18309
>                 URL: https://issues.apache.org/jira/browse/HBASE-18309
>             Project: HBase
>          Issue Type: Improvement
>          Components: wal
>            Reporter: binlijin
>            Assignee: Reid Chan
>         Attachments: HBASE-18309.master.001.patch, 
> HBASE-18309.master.002.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.



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

Reply via email to