spark-instrumented-optimizer/resource-managers
Devaraj K f06bc0cd1d [SPARK-22404][YARN] Provide an option to use unmanaged AM in yarn-client mode
## What changes were proposed in this pull request?

Providing a new configuration "spark.yarn.un-managed-am" (defaults to false) to enable the Unmanaged AM Application in Yarn Client mode which launches the Application Master service as part of the Client. It utilizes the existing code for communicating between the Application Master <-> Task Scheduler for the container requests/allocations/launch, and eliminates these,
1. Allocating and launching the Application Master container
2. Remote Node/Process communication between Application Master <-> Task Scheduler

## How was this patch tested?

I verified manually running the applications in yarn-client mode with "spark.yarn.un-managed-am" enabled, and also ensured that there is no impact to the existing execution flows.

I would like to hear others feedback/thoughts on this.

Closes #19616 from devaraj-kavali/SPARK-22404.

Authored-by: Devaraj K <devaraj@apache.org>
Signed-off-by: Marcelo Vanzin <vanzin@cloudera.com>
2019-01-25 11:52:45 -08:00
..
kubernetes [SPARK-26685][K8S] Correct placement of ARG declaration 2019-01-22 10:31:17 -08:00
mesos [SPARK-26463][CORE] Use ConfigEntry for hardcoded configs for scheduler categories. 2019-01-22 07:44:36 -06:00
yarn [SPARK-22404][YARN] Provide an option to use unmanaged AM in yarn-client mode 2019-01-25 11:52:45 -08:00