org.apache.hadoop.hive.ql.exec.tez
Class HivePreWarmProcessor
java.lang.Object
org.apache.hadoop.hive.ql.exec.tez.HivePreWarmProcessor
- All Implemented Interfaces:
- org.apache.tez.runtime.api.LogicalIOProcessor, org.apache.tez.runtime.api.Processor
public class HivePreWarmProcessor
- extends Object
- implements org.apache.tez.runtime.api.LogicalIOProcessor
A simple sleep processor implementation that sleeps for the configured
time in milliseconds.
- See Also:
for configuring the HivePreWarmProcessor
Method Summary |
void |
close()
|
void |
handleEvents(List<org.apache.tez.runtime.api.Event> processorEvents)
|
void |
initialize(org.apache.tez.runtime.api.TezProcessorContext processorContext)
|
void |
run(Map<String,org.apache.tez.runtime.api.LogicalInput> inputs,
Map<String,org.apache.tez.runtime.api.LogicalOutput> outputs)
|
HivePreWarmProcessor
public HivePreWarmProcessor()
initialize
public void initialize(org.apache.tez.runtime.api.TezProcessorContext processorContext)
throws Exception
- Specified by:
initialize
in interface org.apache.tez.runtime.api.Processor
- Throws:
Exception
run
public void run(Map<String,org.apache.tez.runtime.api.LogicalInput> inputs,
Map<String,org.apache.tez.runtime.api.LogicalOutput> outputs)
throws Exception
- Specified by:
run
in interface org.apache.tez.runtime.api.LogicalIOProcessor
- Throws:
Exception
handleEvents
public void handleEvents(List<org.apache.tez.runtime.api.Event> processorEvents)
- Specified by:
handleEvents
in interface org.apache.tez.runtime.api.Processor
close
public void close()
throws Exception
- Specified by:
close
in interface org.apache.tez.runtime.api.Processor
- Throws:
Exception
Copyright © 2014 The Apache Software Foundation. All rights reserved.