Apache Hadoop YARN (Yet Another Resource Negotiator) is a framework for managing and scheduling compute resources in a Hadoop cluster.
Here are some common YARN commands that you might use when working with a Hadoop cluster:
yarn application -list
: This command lists the applications that are currently running or have completed in the cluster.yarn application -kill <app_id>
: This command kills the application with the specified application ID.yarn node -list
: This command lists the nodes in the cluster, along with their status and resource utilization.yarn rmadmin -refreshQueues
: This command reloads the queue configuration for YARN.yarn rmadmin -transitionToActive <rm_id>
: This command transitions the resource manager with the specified ID to the active state.yarn rmadmin -transitionToStandby <rm_id>
: This command transitions the resource manager with the specified ID to the standby state.
These are just a few of the many YARN commands available. For a full list of commands, you can refer to the YARN documentation.
Comments
Post a Comment