Managing an Apache Hive workload
Also available as:
PDF

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.
You can make only one resource plan active at a time.
  1. Activate a resource plan.
    ALTER RESOURCE PLAN plan1 ACTIVATE;
    This example activates plan1.
  2. Deactivate one resource plan by activating another.
    ALTER RESOURCE PLAN plan2 ACTIVATE;
    This example activates plan2 and deactivates plan1, but plan1 is still enabled.