org.apache.lens.server.stats.store.log
Class StatisticsLogPartitionHandler
java.lang.Object
org.apache.lens.server.api.events.AsyncEventListener<PartitionEvent>
org.apache.lens.server.stats.store.log.StatisticsLogPartitionHandler
- All Implemented Interfaces:
- LensEventListener<PartitionEvent>
public class StatisticsLogPartitionHandler
- extends AsyncEventListener<PartitionEvent>
Class used to copy log files to HDFS and add partition to hive metastore.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG_PARTITION_HANDLER_COUNTER
public static final String LOG_PARTITION_HANDLER_COUNTER
- The Constant LOG_PARTITION_HANDLER_COUNTER.
- See Also:
- Constant Field Values
StatisticsLogPartitionHandler
public StatisticsLogPartitionHandler()
initialize
public void initialize(org.apache.hadoop.conf.Configuration conf)
- Initialize.
- Parameters:
conf - the conf
process
public void process(PartitionEvent event)
- Specified by:
process in class AsyncEventListener<PartitionEvent>
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.