public static interface SplitLogWorker.TaskExecutor
SplitLogWorker
. Since there isn't a water-tight
guarantee that two workers will not be executing the same task therefore it
is better to have workers prepare the task and then have the
SplitLogManager
commit the work in
SplitLogManager.TaskFinisherModifier and Type | Interface and Description |
---|---|
static class |
SplitLogWorker.TaskExecutor.Status |
Modifier and Type | Method and Description |
---|---|
SplitLogWorker.TaskExecutor.Status |
exec(String name,
org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.SplitLogTask.RecoveryMode mode,
CancelableProgressable p) |
SplitLogWorker.TaskExecutor.Status exec(String name, org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.SplitLogTask.RecoveryMode mode, CancelableProgressable p)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.