[ 
https://issues.apache.org/jira/browse/HIVE-12757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Szehon Ho updated HIVE-12757:
-----------------------------
    Attachment: HIVE-12757.2.patch

Attach a more sophisticated fix for the file-reporter test where I try 3 times, 
each timeout of 2000, to read the file.

And migrate other time-dependent tests to use the json-dump which is 
instantaneous.

> 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.2.patch, 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