public class TezRootInputInitializerContextImpl extends Object implements InputInitializerContext
| Constructor and Description |
|---|
TezRootInputInitializerContextImpl(RootInputLeafOutput<InputDescriptor,InputInitializerDescriptor> input,
Vertex vertex,
AppContext appContext,
RootInputInitializerManager manager) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCounters(TezCounters tezCounters) |
org.apache.hadoop.yarn.api.records.ApplicationId |
getApplicationId() |
int |
getDAGAttemptNumber() |
String |
getDAGName() |
String |
getInputName() |
UserPayload |
getInputUserPayload() |
int |
getNumClusterNodes() |
int |
getNumTasks() |
org.apache.hadoop.yarn.api.records.Resource |
getTotalAvailableResource() |
UserPayload |
getUserPayload() |
org.apache.hadoop.conf.Configuration |
getVertexConfiguration() |
int |
getVertexNumTasks(String vertexName) |
org.apache.hadoop.yarn.api.records.Resource |
getVertexTaskResource() |
void |
registerForVertexStateUpdates(String vertexName,
Set<VertexState> stateSet) |
public TezRootInputInitializerContextImpl(RootInputLeafOutput<InputDescriptor,InputInitializerDescriptor> input, Vertex vertex, AppContext appContext, RootInputInitializerManager manager)
public org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()
getApplicationId in interface InputInitializerContextpublic String getDAGName()
getDAGName in interface InputInitializerContextpublic String getInputName()
getInputName in interface InputInitializerContextpublic UserPayload getInputUserPayload()
getInputUserPayload in interface InputInitializerContextpublic UserPayload getUserPayload()
getUserPayload in interface InputInitializerContextpublic org.apache.hadoop.conf.Configuration getVertexConfiguration()
getVertexConfiguration in interface InputInitializerContextpublic int getNumTasks()
getNumTasks in interface InputInitializerContextpublic org.apache.hadoop.yarn.api.records.Resource getVertexTaskResource()
getVertexTaskResource in interface InputInitializerContextpublic org.apache.hadoop.yarn.api.records.Resource getTotalAvailableResource()
getTotalAvailableResource in interface InputInitializerContextpublic int getNumClusterNodes()
getNumClusterNodes in interface InputInitializerContextpublic int getDAGAttemptNumber()
getDAGAttemptNumber in interface InputInitializerContextpublic int getVertexNumTasks(String vertexName)
getVertexNumTasks in interface InputInitializerContextpublic void registerForVertexStateUpdates(String vertexName, Set<VertexState> stateSet)
registerForVertexStateUpdates in interface InputInitializerContextpublic void addCounters(TezCounters tezCounters)
addCounters in interface InputInitializerContextCopyright © 2022 Apache Software Foundation. All rights reserved.