yarn debugcontrol
used to save additional DEBUG logs for scheduling in YARN to a separate file without restarting the RM.
The logs are saved in /opt/mapr/Hadoop/Hadoop<version>/logs/yarn-mapr-scheduling-debug.log
Syntax
        yarn debugcontrol 
      
         [-addapp <application_name>] | [-addqueue <queue_name> ]|
          [-removeapp <application_name> ] | [-removequeue <queue_name> ]   | [-getapps
          ] | [-getqueues ]
      
Parameters
| Parameter | Description | 
|---|---|
| -addapp <application_name> | enables additional scheduling DEBUG on the application | 
| -addqueue <queue_name> | enables additional scheduling DEBUG on the queue | 
| -removeapp <application_name> | disable addition scheduling DEBUG on the application | 
| -removequeue <queue_name> | disable addition scheduling DEBUG on the queue | 
| -getapps | lists the applications with additional scheduling DEBUG | 
| -getqueues | lists the queues with additional scheduling DEBUG |