[
https://issues.apache.org/jira/browse/HBASE-14450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15417826#comment-15417826
]
Ted Yu commented on HBASE-14450:
--------------------------------
This is related code in BackupDistCp#execute() when job.isComplete() becomes
true:
{code}
// update the progress data after copy job complete
float newProgress =
progressDone + job.mapProgress() * subTaskPercntgInWholeTask * (1 -
INIT_PROGRESS);
BigDecimal progressData =
new BigDecimal(newProgress * 100).setScale(1,
BigDecimal.ROUND_HALF_UP);
{code}
Here is related output:
{code}
2016-08-11 12:39:26,658 INFO [ProcedureExecutor-5]
mapreduce.MapReduceBackupCopyService$BackupDistCp(242): Progress: 24.5%
subTask: 1.0 mapProgress: 0.16099072
{code}
As you can see, mapProgress was 16% when the distcp stopped.
I wonder why mapProgress was so low.
> HBase Backup/Restore Phase 3: Multiwal support
> ----------------------------------------------
>
> Key: HBASE-14450
> URL: https://issues.apache.org/jira/browse/HBASE-14450
> Project: HBase
> Issue Type: Task
> Affects Versions: 2.0.0
> Reporter: Vladimir Rodionov
> Assignee: Vladimir Rodionov
> Labels: backup
> Fix For: 2.0.0
>
> Attachments: 14450.v2.txt,
> org.apache.hadoop.hbase.backup.TestIncrementalBackup-output.txt
>
>
> We need to support multiwal configurations.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)