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

Aihua Xu commented on HIVE-12757:
---------------------------------

Didn't look deep into that. But can we add the loop logic to sleep(1 sec for 
example) and detect if the file has been generated ?  That will speed up for 
faster machines. 

> Fix TestCodahaleMetrics#testFileReporting
> -----------------------------------------
>
>                 Key: HIVE-12757
>                 URL: https://issues.apache.org/jira/browse/HIVE-12757
>             Project: Hive
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 2.1.0
>            Reporter: Szehon Ho
>            Assignee: Szehon Ho
>         Attachments: HIVE-12757.patch
>
>
> Codahale Metrics file reporter is time based, hence test is as well.  On slow 
> machines, sometimes the file is not written fast enough to be read.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to