org.apache.accumulo.server.gc
Class SimpleGarbageCollector
java.lang.Object
org.apache.accumulo.server.gc.SimpleGarbageCollector
- All Implemented Interfaces:
- GCMonitorService.Iface
public class SimpleGarbageCollector
- extends Object
- implements GCMonitorService.Iface
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleGarbageCollector
public SimpleGarbageCollector()
main
public static void main(String[] args)
throws UnknownHostException,
IOException
- Throws:
UnknownHostException
IOException
setSafeMode
public void setSafeMode()
setOffline
public void setOffline()
setVerbose
public void setVerbose()
useAddress
public void useAddress(String address)
init
public void init(org.apache.hadoop.fs.FileSystem fs,
Instance instance,
TCredentials credentials,
boolean noTrash)
throws IOException
- Throws:
IOException
almostOutOfMemory
public static boolean almostOutOfMemory()
confirmDeletes
public void confirmDeletes(SortedSet<String> candidates)
throws AccumuloException
- This method removes candidates from the candidate list under two conditions: 1. They are in the same folder as a bulk processing file, if that option is
selected 2. They are still in use in the file column family in the METADATA table
- Throws:
AccumuloException
getStatus
public GCStatus getStatus(TInfo info,
TCredentials credentials)
- Specified by:
getStatus
in interface GCMonitorService.Iface
Copyright © 2013 Apache Accumulo Project. All Rights Reserved.