Application Management

You can use YARN
Services API to manage long-running YARN applications. You can use the YARN CLI to view the
logs for running applications, In addition, you can use YARN distributed cache to deploy
multiple versions of Mapreduce.

Enable Cross-Origin Support on YARNYou must enable Cross-Origin Resource Sharing (CORS) on YARN such that the corresponding services accept cross-origin requests from only selected domains. Enabling CORS also helps the YARN UI fetch data endpoints from the browser.

Using Docker Containers on YARN for Spark JobsApache Spark applications might have complex software dependencies which introduce package isolation challenges, especially in situations when you have to install multiple versions of the dependencies on cluster hosts where Spark executors run. Docker containers on YARN address such package isolation challenges by enabling you to install and manage the software dependencies as separate images on the containers.