You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Saad Mufti (JIRA)" <ji...@apache.org> on 2018/03/20 11:04:00 UTC
[jira] [Comment Edited] (HBASE-20226) Performance Improvement
Taking Large Snapshots In Remote Filesystems
[ https://issues.apache.org/jira/browse/HBASE-20226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16406136#comment-16406136 ]
Saad Mufti edited comment on HBASE-20226 at 3/20/18 11:03 AM:
--------------------------------------------------------------
No tests yet, but submitting the patch for anyone interested. I will be writing short separate performance test to compare deleting 12000 files in S3 in a single thread and compare it to doing so in a thread pool.
was (Author: saadmufti):
No tests yet, but submitting the patch for anyone interested. I will be writing short separate performance test t compare deleting 12000 files in S3 in a single thread and compare it to doing so in a thread pool.
> Performance Improvement Taking Large Snapshots In Remote Filesystems
> --------------------------------------------------------------------
>
> Key: HBASE-20226
> URL: https://issues.apache.org/jira/browse/HBASE-20226
> Project: HBase
> Issue Type: Improvement
> Components: snapshots
> Affects Versions: 1.4.0
> Environment: HBase 1.4.0 running on an AWS EMR cluster with the hbase.rootdir set to point to a folder in S3
> Reporter: Saad Mufti
> Priority: Minor
> Attachments: HBASE-20226..01.patch
>
>
> When taking a snapshot of any table, one of the last steps is to delete the region manifests, which have already been rolled up into a larger overall manifest and thus have redundant information.
> This proposal is to do the deletion in a thread pool bounded by hbase.snapshot.thread.pool.max . For large tables with a lot of regions, the current single threaded deletion is taking longer than all the rest of the snapshot tasks when the Hbase data and the snapshot folder are both in a remote filesystem like S3.
> I have a patch for this proposal almost ready and will submit it tomorrow for feedback, although I haven't had a chance to write any tests yet.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)