You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Prasanth Jayachandran (JIRA)" <ji...@apache.org> on 2017/11/27 22:34:00 UTC

[jira] [Created] (HIVE-18152) Better error message when activating an already active resource plan

Prasanth Jayachandran created HIVE-18152:
--------------------------------------------

             Summary: Better error message when activating an already active resource plan
                 Key: HIVE-18152
                 URL: https://issues.apache.org/jira/browse/HIVE-18152
             Project: Hive
          Issue Type: Sub-task
    Affects Versions: 3.0.0
            Reporter: Prasanth Jayachandran


{code}
show resource plans;
+----------+----------+--------------------+
| rp_name  |  status  | query_parallelism  |
+----------+----------+--------------------+
| llap     | ACTIVE   | 1                  |
| global   | ENABLED  | 1                  |
+----------+----------+--------------------+

ALTER RESOURCE PLAN llap ACTIVATE;
Error: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Cannot get a resource plan to apply (state=08S01,code=1)
{code}

This error message can be improved to say the plan is already active. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)