hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18806) VerifyRep by snapshot need not to restore snapshot for each mapper
Date Wed, 03 Jan 2018 04:11:03 GMT

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

Hadoop QA commented on HBASE-18806:
-----------------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m  0s{color} | {color:blue}
Docker mode activated. {color} |
| {color:red}-1{color} | {color:red} patch {color} | {color:red}  0m  4s{color} | {color:red}
HBASE-18806 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/0.6.0/precommit-patchnames
for help. {color} |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Issue | HBASE-18806 |
| JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12888986/HBASE-18806.v3.patch
|
| Console output | https://builds.apache.org/job/PreCommit-HBASE-Build/10859/console |
| Powered by | Apache Yetus 0.6.0   http://yetus.apache.org |


This message was automatically generated.



> 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-alpha-2
>            Reporter: Zheng Hu
>            Assignee: Zheng Hu
>         Attachments: HBASE-18806.v1.patch, HBASE-18806.v2.patch, HBASE-18806.v3.patch,
HBASE-18806.v3.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)

Mime
View raw message