@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, run
public PreWarmProcessor(org.apache.tez.runtime.api.ProcessorContext context)
public void run() throws Exception
SimpleProcessor
run
in class SimpleProcessor
Exception
protected void preWarmTezCode()
protected void preWarmUserCode()
Copyright © 2016 Apache Software Foundation. All rights reserved.