Activate a resource plan
You can activate an enabled resource plan to apply the plan to a query workload to start managing the workload.
- You connected to HiveServer over ODBC or JDBC on the cluster you want to manage, and started Hive from the Beeline shell.
- You enabled the resource plan.
Activate a resource
ALTER RESOURCE PLAN plan1 ACTIVATE;This example activates plan1.
Deactivate one resource plan by activating another.
ALTER RESOURCE PLAN plan2 ACTIVATE;This example activates plan2 and deactivates plan1, but plan1 is still enabled.