public class GarbageCollectWriteAheadLogs extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
collect(GCStatus status) |
protected Map<UUID,org.apache.hadoop.fs.Path> |
getSortedWALogs()
Looks for write-ahead logs in recovery directories.
|
protected int |
removeReplicationEntries(Map<UUID,TServerInstance> candidates) |
public void collect(GCStatus status)
protected int removeReplicationEntries(Map<UUID,TServerInstance> candidates) throws IOException, org.apache.zookeeper.KeeperException, InterruptedException
IOExceptionorg.apache.zookeeper.KeeperExceptionInterruptedExceptionprotected Map<UUID,org.apache.hadoop.fs.Path> getSortedWALogs() throws IOException
IOExceptionCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.