[
https://issues.apache.org/jira/browse/HBASE-18806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16310822#comment-16310822
]
Hudson commented on HBASE-18806:
--------------------------------
FAILURE: Integrated in Jenkins build HBase-Trunk_matrix #4340 (See
[https://builds.apache.org/job/HBase-Trunk_matrix/4340/])
HBASE-18806 VerifyRep by snapshot need not to restore snapshot for each
(openinx: rev 6e136f26bf0761797716b532b1a8c4984bf80c58)
* (edit)
hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestTableSnapshotScanner.java
* (edit)
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/replication/VerifyReplication.java
* (edit)
hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationSmallTests.java
* (edit)
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java
* (edit)
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/TableSnapshotInputFormatImpl.java
* (edit)
hbase-server/src/main/java/org/apache/hadoop/hbase/client/TableSnapshotScanner.java
> VerifyRep by snapshot need not to restore snapshot for each mapper
> ------------------------------------------------------------------
>
> Key: HBASE-18806
> URL: https://issues.apache.org/jira/browse/HBASE-18806
> Project: HBase
> Issue Type: Improvement
> Components: Replication
> Affects Versions: 2.0.0-beta-2
> Reporter: Zheng Hu
> Assignee: Zheng Hu
> Fix For: 2.0.0-beta-2
>
> Attachments: HBASE-18806.v1.patch, HBASE-18806.v2.patch,
> HBASE-18806.v3.patch, HBASE-18806.v3.patch, HBASE-18806.v4.patch,
> HBASE-18806.v4.patch, HBASE-18806.v5.patch
>
>
> In following method stack, seems like each mapper task will restore the
> snapshot. If we verify replication by a snapshot which has many hfiles,
> then we will take long time to restore snapshot. In our cluster, we took
> ~30min for the snapshot restoring when verify a big table.
> {code}
> Verifier.map
> |--------> replicatedScanner = new TableSnapshotScanner(...)
> |-------->
> TableSnapshotScanner.init()
>
> |-----> RestoreSnapshotHelper.copySnapshotForScanner
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)