Search code examples
hadoopresourcessharejobs

How to change queue of currently running hadoop job?


My hadoop job was running over 10 hours but since I put it in wrong queue, the containers are kept getting killed by the scheduler.

How do I change the queue of currently running hadoop job without restarting it?

Thank you


Solution

  • if running Yarn you can change the current job's queue by

    yarn application -movetoqueue <app_id> -queue <queue_name>