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(String[] args)
throws UnknownHostException
- Throws:
UnknownHostException
main
public static void main(String[] args)
throws UnknownHostException,
IOException
- Throws:
UnknownHostException
IOException
init
public void init(org.apache.hadoop.fs.FileSystem fs,
Instance instance,
AuthInfo credentials,
AccumuloConfiguration conf)
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,
AuthInfo credentials)
- Specified by:
getStatus
in interface GCMonitorService.Iface
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.