[ 
https://issues.apache.org/jira/browse/HIVE-19171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16442094#comment-16442094
 ] 

Zoltan Haindrich commented on HIVE-19171:
-----------------------------------------

* this patch adds 1 new metastore table;  the patch adds a table named 
"MRuntimeStats" to store runtime statistics (id,create_time,weight,payload)
* the data is not interpreted in any way at the metastore side ; only retention 
is handled
* retention is currently controlled from the hs2 side; during the add call - 
this might eventually get moved
* the thrift api is extended to be able to read and write runtime stat entries 
by using: 
{code}
void add_runtime_stats(1: RuntimeStat stat, 2: i32 maxRetained, 3: i32 
maxRetainSecs)
list<RuntimeStat> get_runtime_stats()
{code}


> Persist runtime statistics in metastore
> ---------------------------------------
>
>                 Key: HIVE-19171
>                 URL: https://issues.apache.org/jira/browse/HIVE-19171
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Zoltan Haindrich
>            Assignee: Zoltan Haindrich
>            Priority: Major
>         Attachments: HIVE-19171.01wip01.patch, HIVE-19171.01wip02.patch
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to