public final class StatsUpdater extends Object
| Constructor and Description |
|---|
StatsUpdater() |
| Modifier and Type | Method and Description |
|---|---|
void |
gatherStats(CompactionInfo ci,
HiveConf conf,
String userName,
String compactionQueueName,
IMetaStoreClient msc)
This doesn't throw any exceptions because we don't want the Compaction to appear as failed
if stats gathering fails since this prevents Cleaner from doing it's job and if there are
multiple failures, auto initiated compactions will stop which leads to problems that are
much worse than stale stats.
|
public void gatherStats(CompactionInfo ci, HiveConf conf, String userName, String compactionQueueName, IMetaStoreClient msc)
ci - Information about the compaction being runconf - The hive configuration objectuserName - The user to run the statistic collection withcompactionQueueName - The name of the compaction queueCopyright © 2024 The Apache Software Foundation. All rights reserved.