Modifier and Type | Field and Description |
---|---|
static String |
QUERY_RESULT_PURGER_ERROR_COUNTER
The Constant QUERY_RESULT_PURGER_COUNTER.
|
Constructor and Description |
---|
QueryResultPurger() |
Modifier and Type | Method and Description |
---|---|
void |
init(org.apache.hadoop.conf.Configuration configuration) |
boolean |
isHealthy()
Checks the status of executor service
|
void |
purgePaths(org.apache.hadoop.fs.Path path,
DateUtil.TimeDiff retention,
boolean purgeDirectory) |
void |
run() |
void |
stop()
Stops query result purger
|
public static final String QUERY_RESULT_PURGER_ERROR_COUNTER
public void init(org.apache.hadoop.conf.Configuration configuration)
public void purgePaths(org.apache.hadoop.fs.Path path, DateUtil.TimeDiff retention, boolean purgeDirectory) throws IOException
IOException
public void stop()
public boolean isHealthy()
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.