Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-4883

TestHadoop20SAuthBridge tests fail sometimes because of race condition

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.11.0
    • Fix Version/s: 0.12.0
    • Component/s: Metastore, Tests
    • Labels:
      None

      Description

      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 )

        Attachments

        1. HIVE-4883.02.patch
          4 kB
          Thejas Nair
        2. HIVE-4883.01.patch
          4 kB
          Thejas Nair
        3. HIVE-4883.patch.dependson-HIVE-3255
          4 kB
          Thejas Nair
        4. HIVE-4883-reproduce.patch
          0.7 kB
          Thejas Nair

          Activity

            People

            • Assignee:
              thejas Thejas Nair
              Reporter:
              thejas Thejas Nair
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: