@InterfaceAudience.Public @InterfaceStability.Unstable public class ServicePluginsDescriptor extends Object
ServicePluginsDescriptor
describes the list of plugins running within the AM for
sourcing resources, launching and executing work.Modifier and Type | Method and Description |
---|---|
static ServicePluginsDescriptor |
create(boolean enableUber)
Create a service plugin descriptor which may have in-AM execution of tasks enabled.
|
static ServicePluginsDescriptor |
create(boolean enableContainers,
boolean enableUber,
TaskSchedulerDescriptor[] taskSchedulerDescriptor,
ContainerLauncherDescriptor[] containerLauncherDescriptors,
TaskCommunicatorDescriptor[] taskCommunicatorDescriptors)
Create a service plugin descriptor with the provided plugins.
|
static ServicePluginsDescriptor |
create(boolean enableUber,
TaskSchedulerDescriptor[] taskSchedulerDescriptor,
ContainerLauncherDescriptor[] containerLauncherDescriptors,
TaskCommunicatorDescriptor[] taskCommunicatorDescriptors)
Create a service plugin descriptor with the provided plugins.
|
static ServicePluginsDescriptor |
create(TaskSchedulerDescriptor[] taskSchedulerDescriptor,
ContainerLauncherDescriptor[] containerLauncherDescriptors,
TaskCommunicatorDescriptor[] taskCommunicatorDescriptors)
Create a service plugin descriptor with the provided plugins.
|
String |
toString() |
public static ServicePluginsDescriptor create(TaskSchedulerDescriptor[] taskSchedulerDescriptor, ContainerLauncherDescriptor[] containerLauncherDescriptors, TaskCommunicatorDescriptor[] taskCommunicatorDescriptors)
taskSchedulerDescriptor
- the task scheduler plugin descriptorscontainerLauncherDescriptors
- the container launcher plugin descriptorstaskCommunicatorDescriptors
- the task communicator plugin descriptorsServicePluginsDescriptor
instancepublic static ServicePluginsDescriptor create(boolean enableUber, TaskSchedulerDescriptor[] taskSchedulerDescriptor, ContainerLauncherDescriptor[] containerLauncherDescriptors, TaskCommunicatorDescriptor[] taskCommunicatorDescriptors)
TezConfiguration.TEZ_AM_INLINE_TASK_EXECUTION_MAX_TASKS
.
The AM will need to be sized correctly for the tasks. Memory allocation to the running task
cannot be controlled yet, and is the full AM heap for each task.
TODO: TEZ-2722enableUber
- whether to enable execution in the AM or nottaskSchedulerDescriptor
- the task scheduler plugin descriptorscontainerLauncherDescriptors
- the container launcher plugin descriptorstaskCommunicatorDescriptors
- the task communicator plugin descriptorsServicePluginsDescriptor
instancepublic static ServicePluginsDescriptor create(boolean enableContainers, boolean enableUber, TaskSchedulerDescriptor[] taskSchedulerDescriptor, ContainerLauncherDescriptor[] containerLauncherDescriptors, TaskCommunicatorDescriptor[] taskCommunicatorDescriptors)
TezConfiguration.TEZ_AM_INLINE_TASK_EXECUTION_MAX_TASKS
.
The AM will need to be sized correctly for the tasks. Memory allocation to the running task
cannot be controlled yet, and is the full AM heap for each task.
TODO: TEZ-2722enableContainers
- whether to enable execution in containersenableUber
- whether to enable execution in the AM or nottaskSchedulerDescriptor
- the task scheduler plugin descriptorscontainerLauncherDescriptors
- the container launcher plugin descriptorstaskCommunicatorDescriptors
- the task communicator plugin descriptorsServicePluginsDescriptor
instancepublic static ServicePluginsDescriptor create(boolean enableUber)
TezConfiguration.TEZ_AM_INLINE_TASK_EXECUTION_MAX_TASKS
.
The AM will need to be sized correctly for the tasks. Memory allocation to the running task
cannot be controlled yet, and is the full AM heap for each task.
TODO: TEZ-2722enableUber
- whether to enable execution in the AM or notServicePluginsDescriptor
instanceCopyright © 2024 Apache Software Foundation. All rights reserved.