| Package | Description | 
|---|---|
| org.apache.tez.client | |
| org.apache.tez.dag.api | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
TezClient.preWarm(PreWarmVertex preWarmVertex)
API to help pre-allocate containers in session mode. 
 | 
void | 
TezClient.preWarm(PreWarmVertex preWarmVertex,
       long timeout,
       TimeUnit unit)
API to help pre-allocate containers in session mode. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static PreWarmVertex | 
PreWarmVertex.create(String vertexName,
      int parallelism,
      org.apache.hadoop.yarn.api.records.Resource taskResource)
Create a  
PreWarmVertex to be used in @link
 TezClient.preWarm(PreWarmVertex) This uses a built in pre-warm
 processor that implements common functionality. | 
static PreWarmVertex | 
PreWarmVertex.create(String vertexName,
      ProcessorDescriptor processorDescriptor,
      int parallelism,
      org.apache.hadoop.yarn.api.records.Resource taskResource)
Create a  
PreWarmVertex to be used in
 TezClient.preWarm(PreWarmVertex) It may be necessary to call more
 methods to add local files etc on the pre-warm vertex post creation so that
 it matches the real DAG vertices. | 
Copyright © 2021 Apache Software Foundation. All rights reserved.