org.apache.hadoop.hbase.master
Interface SplitLogManager.TaskFinisher

Enclosing class:
SplitLogManager

public static interface SplitLogManager.TaskFinisher

SplitLogManager can use objects implementing this interface to finish off a partially done task by SplitLogWorker. This provides a serialization point at the end of the task processing. Must be restartable and idempotent.


Nested Class Summary
static class SplitLogManager.TaskFinisher.Status
          status that can be returned finish()
 
Method Summary
 SplitLogManager.TaskFinisher.Status finish(ServerName workerName, String taskname)
          finish the partially done task.
 

Method Detail

finish

SplitLogManager.TaskFinisher.Status finish(ServerName workerName,
                                           String taskname)
finish the partially done task. workername provides clue to where the partial results of the partially done tasks are present. taskname is the name of the task that was put up in zookeeper.

Parameters:
workerName -
taskname -
Returns:
DONE if task completed successfully, ERR otherwise


Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.