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

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

jeah...I've moved the cleanup to happen in a metastore thread instead of 
removing entries on write.
I've modified the thrift api to:
{code}
void add_runtime_stats(1: RuntimeStat stat)
list<RuntimeStat> get_runtime_stats(1: i32 minCreateTime, 2: i32 maxCount)
{code}
hs2 will load all these at informations on startup (if its configured to do so) 
- I've exetended the request to be able to limit and filter for newer entries ; 
it might come handy later :)
but not having these informations is not really critical...

> 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