|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lens.server.api.events.AsyncEventListener<PartitionEvent> org.apache.lens.server.stats.store.log.StatisticsLogPartitionHandler
public class StatisticsLogPartitionHandler
Class used to copy log files to HDFS and add partition to hive metastore.
Field Summary | |
---|---|
static String |
LOG_PARTITION_HANDLER_COUNTER
The Constant LOG_PARTITION_HANDLER_COUNTER. |
Fields inherited from interface org.apache.lens.server.api.events.LensEventListener |
---|
HANDLER_METHOD_NAME |
Constructor Summary | |
---|---|
StatisticsLogPartitionHandler()
|
Method Summary | |
---|---|
void |
initialize(org.apache.hadoop.hive.conf.HiveConf conf)
Initialize. |
void |
process(PartitionEvent event)
Should implement the actual event handling. |
Methods inherited from class org.apache.lens.server.api.events.AsyncEventListener |
---|
getEventQueue, onEvent, stop |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String LOG_PARTITION_HANDLER_COUNTER
Constructor Detail |
---|
public StatisticsLogPartitionHandler()
Method Detail |
---|
public void initialize(org.apache.hadoop.hive.conf.HiveConf conf)
conf
- the confpublic void process(PartitionEvent event)
AsyncEventListener
process
in class AsyncEventListener<PartitionEvent>
event
- the event
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |