application or app
The command is used to print application reports, kill applications, and manage long-running applications.
The script usage is as follows:
$ yarn application [options]
$ yarn app [options]
-appId <applicationId> |
Specifies the ID of the application to operate on |
-appStates <states> |
Works with |
-appTags <tags> |
Works with |
-appTags <types> |
Works with |
-changeQueue <queue_name> |
Moves application to a new queue.
ApplicationId can be passed using the |
-component <component_name> <count> |
Works with the |
-components <components> |
Works with the |
-decomission <application_name> |
Decommissions component instances for an application or a long-running service.
Requires the |
-destroy <application_name> |
Destroys a saved application specification and removes all application data permanently.
Supports the |
-enableFastLaunch |
Uploads AM dependencies to HDFS to make future launches faster.
Supports the |
-flex <application_name/ID> |
Changes the number of running containers for a component of an application or a long-running service.
Requires the |
-help |
Displays help for all commands |
-instances <component_instances> |
Works with the |
-kill <application_ID> |
Kills the application. Multiple applications can be provided separated with a space |
-launch <application_name> <file_name> |
Launches the application from specification file (saves specification and starts application).
Options |
-list |
Lists applications.
Supports optional use of |
-movetoqueue <application_ID> |
Deprecated.
Moves the application to a different queue.
Use the |
-queue <queue_name> |
Works with the |
-save <application_name> <file_name> |
Saves specification file for an application.
Options |
-start <application_name> |
Starts a previously saved application.
Supports the |
-status <application_name/ID> |
Prints the application status.
If an ID is provided, prints the generic YARN application status.
If a name is provided, prints the application specific status based on app’s own implementation, and the |
-stop <application_name/ID> |
Stops application gracefully (may be started again later).
If a name is provided, |
-updateLifetime <timeout> |
Updates the timeout of an application from now.
An application ID can be passed using the |
-updatePriority <priority> |
Updates the priority of an application.
An application ID can be passed using the |