@InterfaceAudience.Private
public class ExpiredMobFileCleaner
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
| Constructor and Description |
|---|
ExpiredMobFileCleaner() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanExpiredMobFiles(String tableName,
HColumnDescriptor family)
Cleans the MOB files when they're expired and their min versions are 0.
|
static void |
main(String[] args) |
int |
run(String[] args) |
public void cleanExpiredMobFiles(String tableName, HColumnDescriptor family) throws com.google.protobuf.ServiceException, IOException
tableName - The current table name.family - The current family.com.google.protobuf.ServiceExceptionIOExceptionCopyright © 2007–2016 Cloudera. All rights reserved.