@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,
ColumnFamilyDescriptor 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, ColumnFamilyDescriptor family) throws IOException
tableName
- The current table name.family
- The current family.IOException
Copyright © 2007–2019 Cloudera. All rights reserved.