@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, setListener
protected 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 EventHandler
public void process() throws IOException
EventHandler
process
in class EventHandler
IOException
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.