hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanth Jayachandran (JIRA)" <>
Subject [jira] [Updated] (HIVE-17508) Implement pool rules and triggers based on counters
Date Mon, 11 Sep 2017 22:09:00 GMT


Prasanth Jayachandran updated HIVE-17508:
    Attachment: HIVE-17508.WIP.patch

Attaching a WIP patch. This still has to be hooked to metastore objects. For query elapsed
time, hive.query.timeout.seconds can be used which will fail the query exceeding timeout.

> Implement pool rules and triggers based on counters
> ---------------------------------------------------
>                 Key: HIVE-17508
>                 URL:
>             Project: Hive
>          Issue Type: Sub-task
>    Affects Versions: 3.0.0
>            Reporter: Prasanth Jayachandran
>            Assignee: Prasanth Jayachandran
>         Attachments: HIVE-17508.WIP.patch
> Workload management can defined Rules that are bound to a resource plan. Each rule can
have a trigger expression and an action associated with it. Trigger expressions are evaluated
at runtime after configurable check interval, based on which actions like killing a query,
moving a query to different pool etc. will get invoked. Simple rule could be something like
> {code}
> CREATE RULE slow_query IN resource_plan_name
> WHEN execution_time_ms > 10000
> MOVE TO slow_queue
> {code}

This message was sent by Atlassian JIRA

View raw message