[ https://issues.apache.org/jira/browse/HIVE-4883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thejas M Nair updated HIVE-4883: -------------------------------- Attachment: HIVE-4883-reproduce.patch To reproduce this issue consistently, this patch can be applied - HIVE-4883-reproduce.patch . It adds a sleep in HiveMetaStore.startMetaStore call. > TestHadoop20SAuthBridge tests fail sometimes because of race condition > ---------------------------------------------------------------------- > > Key: HIVE-4883 > URL: https://issues.apache.org/jira/browse/HIVE-4883 > Project: Hive > Issue Type: Bug > Components: Metastore, Tests > Affects Versions: 0.11.0 > Reporter: Thejas M Nair > Assignee: Thejas M Nair > Attachments: HIVE-4883-reproduce.patch > > > TestHadoop20SAuthBridge tests testSaslWithHiveMetaStore and > testMetastoreProxyUser sometimes fail. I have seen this more often on mac and > windows, but this can happen on linux as well. > The problem is that metastore is started in a different thread and these unit > tests actually rely on the metastore having initialized > DelegationTokenSecretManager in HadoopThriftAuthBridge20S as part of the > metastore startup (HiveMetaStore.startMetaStore ) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira