hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <>
Subject [jira] [Commented] (HIVE-4883) TestHadoop20SAuthBridge tests fail sometimes because of race condition
Date Thu, 18 Jul 2013 20:24:48 GMT


Thejas M Nair commented on HIVE-4883:

The stack trace for the both the tests that error our is like this -
<testcase classname="org.apache.hadoop.hive.thrift.TestHadoop20SAuthBridge" name="testSaslWithHiveMetaStore"
    <error type="java.lang.NullPointerException">java.lang.NullPointerException
        at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge20S$Server$
        at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge20S$Server$
        at Method)
        at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge20S$Server.getDelegationToken(
        at org.apache.hadoop.hive.metastore.HiveMetaStore.getDelegationToken(
        at org.apache.hadoop.hive.thrift.TestHadoop20SAuthBridge.getDelegationTokenStr(
        at org.apache.hadoop.hive.thrift.TestHadoop20SAuthBridge.obtainTokenAndAddIntoUGI(
        at org.apache.hadoop.hive.thrift.TestHadoop20SAuthBridge.testSaslWithHiveMetaStore(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at junit.framework.TestCase.runTest(
> TestHadoop20SAuthBridge tests fail sometimes because of race condition
> ----------------------------------------------------------------------
>                 Key: HIVE-4883
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore, Tests
>    Affects Versions: 0.11.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
> 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:

View raw message