@InterfaceStability.Unstable @InterfaceAudience.Public public class PreWarmProcessor extends SimpleProcessor
Processor to be used for pre-warming.
If this is customized by the user then they need to make sure that
the custom class jar is localized for the prewarm vertex and other
vertices that need to take advantage of prewarminginputs, outputs| Constructor and Description |
|---|
PreWarmProcessor(org.apache.tez.runtime.api.ProcessorContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
preWarmTezCode()
Pre-warm Tez code.
|
protected void |
preWarmUserCode()
Pre-warm user code.
|
void |
run()
Users must implement this method to provide the main
application logic code
|
close, getInputs, getOutputs, handleEvents, initialize, postOp, preOp, runpublic PreWarmProcessor(org.apache.tez.runtime.api.ProcessorContext context)
public void run()
throws Exception
SimpleProcessorrun in class SimpleProcessorExceptionprotected void preWarmTezCode()
protected void preWarmUserCode()
Copyright © 2015 Apache Software Foundation. All rights reserved.