Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0.0-beta-2
-
None
-
Reviewed
Description
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.
Verifier.map
|--------> replicatedScanner = new TableSnapshotScanner(...)
|--------> TableSnapshotScanner.init()
|-----> RestoreSnapshotHelper.copySnapshotForScanner
Attachments
Attachments
Issue Links
- links to