@InterfaceAudience.Private public class LogReplayHandler extends EventHandler
MasterFileSystem.splitLog(ServerName)). During logReplay, if a receiving RS(say A)
fails again, regions on A won't be able to be assigned to another live RS which causes the log
replay unable to complete because WAL edits replay depends on receiving RS to be liveEventHandler.EventHandlerListener| Modifier and Type | Field and Description |
|---|---|
protected DeadServer |
deadServers |
protected Server |
master |
protected MasterServices |
services |
eventType, seqids, server, waitingTimeForEvents| Constructor and Description |
|---|
LogReplayHandler(Server server,
MasterServices services,
DeadServer deadServers,
ServerName serverName) |
| Modifier and Type | Method and Description |
|---|---|
void |
process()
This method is the main processing loop to be implemented by the various
subclasses.
|
String |
toString() |
compareTo, getEventType, getInformativeName, getListener, getPriority, getSeqid, handleException, prepare, run, setListenerprotected final Server master
protected final MasterServices services
protected final DeadServer deadServers
public LogReplayHandler(Server server, MasterServices services, DeadServer deadServers, ServerName serverName)
public String toString()
toString in class EventHandlerpublic void process()
throws IOException
EventHandlerprocess in class EventHandlerIOExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.