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

Jingyun Tian commented on HBASE-20579:
--------------------------------------

[~yuzhih...@gmail.com] Of course. But I test it using version 0.98. For a 
snapshot which has 115328 reference files, , it cost 3122 seconds to submit the 
job without the patch. And it cost 775 seconds with the patch.

> Improve copy snapshot manifest 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.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)

Reply via email to