You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2018/06/02 23:46:00 UTC

[jira] [Commented] (HBASE-20579) Improve snapshot manifest copy in ExportSnapshot

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

Josh Elser commented on HBASE-20579:
------------------------------------

Tests keep failing because it's picking up my local environment instead of using the test. Just putting up a patch now while I figure out why the test is doing that.

> Improve snapshot manifest copy in ExportSnapshot
> ------------------------------------------------
>
>                 Key: HBASE-20579
>                 URL: https://issues.apache.org/jira/browse/HBASE-20579
>             Project: HBase
>          Issue Type: Improvement
>          Components: mapreduce
>    Affects Versions: 1.4.0, 1.5.0, 2.0.0
>            Reporter: Jingyun Tian
>            Assignee: Jingyun Tian
>            Priority: Minor
>             Fix For: 3.0.0, 2.1.0
>
>         Attachments: HBASE-20579.branch-2.addendum.patch, HBASE-20579.master.001.patch, HBASE-20579.master.002.patch
>
>
> ExportSnapshot need to copy snapshot manifest to destination cluster first, then setOwner and setPermission for those paths. But it's done with one thread, which lead to a long time to submit the job if your snapshot is big. I tried to make them processing in parallel, which can reduce the total time of submitting dramatically. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)