Modifier and Type | Method and Description |
---|---|
static Vertex.VertexExecutionContext |
create(String taskSchedulerName,
String containerLauncherName,
String taskCommName) |
static Vertex.VertexExecutionContext |
createExecuteInAm(boolean executeInAm)
Create an execution context which specifies whether the vertex needs to be executed in the
AM
|
static Vertex.VertexExecutionContext |
createExecuteInContainers(boolean executeInContainers)
Create an execution context which specifies whether the vertex needs to be executed in
regular containers
|
boolean |
equals(Object o) |
String |
getContainerLauncherName() |
String |
getTaskCommName() |
String |
getTaskSchedulerName() |
int |
hashCode() |
boolean |
shouldExecuteInAm() |
boolean |
shouldExecuteInContainers() |
String |
toString() |
public static Vertex.VertexExecutionContext createExecuteInAm(boolean executeInAm)
executeInAm
- whether to execute the vertex in the AMpublic static Vertex.VertexExecutionContext createExecuteInContainers(boolean executeInContainers)
executeInContainers
- whether to execute the vertex in regular containerspublic static Vertex.VertexExecutionContext create(String taskSchedulerName, String containerLauncherName, String taskCommName)
taskSchedulerName
- the task scheduler name which was setup while creating the
TezClient
containerLauncherName
- the container launcher name which was setup while creating the
TezClient
taskCommName
- the task communicator name which was setup while creating the
TezClient
public boolean shouldExecuteInAm()
public boolean shouldExecuteInContainers()
public String getTaskSchedulerName()
public String getContainerLauncherName()
public String getTaskCommName()
Copyright © 2024 Apache Software Foundation. All rights reserved.