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

Szehon Ho commented on HIVE-6908:
---------------------------------

We can eliminate the polling timeout, but I guess the author was thinking that 
timeout is better than hang for unit-test purpose, if the status is not updated 
successfully.  Or did you have some other thoughts?

> TestThriftBinaryCLIService.testExecuteStatementAsync has intermittent failures
> ------------------------------------------------------------------------------
>
>                 Key: HIVE-6908
>                 URL: https://issues.apache.org/jira/browse/HIVE-6908
>             Project: Hive
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.13.0
>            Reporter: Szehon Ho
>            Assignee: Szehon Ho
>         Attachments: HIVE-6908.patch
>
>
> This has failed sometimes in the pre-commit tests.
> ThriftCLIServiceTest.testExecuteStatementAsync runs two statements.  They are 
> given 100 second timeout total, not sure if its by intention.  As the first 
> is a select query, it will take a majority of the time.  The second statement 
> (create table) should be quicker, but it fails sometimes because timeout is 
> already mostly used up.
> The timeout should probably be reset after the first statement.  If the 
> operation finishes before the timeout, it wont have any effect as it'll break 
> out.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to