[ https://issues.apache.org/jira/browse/HIVE-20845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16682274#comment-16682274 ]
Peter Vary commented on HIVE-20845: ----------------------------------- The funny thing is that all of them running locally. [~sershe]: Any fast clues how did you reproduce the issue what made you add these lines to MiniHS2.waitForStartup: {code} if (e.getMessage().contains("Cannot open sessions on an inactive HS2")) { // Passive HS2 has started. TODO: seems fragile return; } {code} Using Linux instead of Mac? > 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)