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

Sergey Shelukhin commented on HIVE-20845:
-----------------------------------------

[~pvary] that is specific to some unit tests that start HS2 in passive mode (HA 
tests). 
HS2 that comes up as passive will not accept the session, so starting one is 
not a valid liveness check. Not sure why it won't repro... I think I hit it on 
the Mac before fixing.

> Fix TestJdbcWithDBTokenStoreNoDoAs flakiness
> --------------------------------------------
>
>                 Key: HIVE-20845
>                 URL: https://issues.apache.org/jira/browse/HIVE-20845
>             Project: Hive
>          Issue Type: Test
>            Reporter: Peter Vary
>            Assignee: Peter Vary
>            Priority: Major
>         Attachments: HIVE-20845.2.patch, HIVE-20845.patch
>
>
> Previously did a dirty fix for TestJdbcWithDBTokenStoreNoDoAs and 
> TestJdbcWithDBTokenStore
> Found out the issue is that we do not wait enough for HS2 to come up.
> Need to fix in MiniHS2.waitForStartup()



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

Reply via email to