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

Add unit-test for lost UGI doAs() context in RetryingMetaStoreClient

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Metastore
    • None

    Description

      This has to do with HIVE-17853. The RetryingMetaStoreClient would lose the UGI.doAs() context, in case of a socket timeout. The connection after the reconnect might cause operation failures, because of using the wrong user.

      We'll need to add a unit-test to simulate this case, if possib.e

      Attachments

        Issue Links

          Activity

            People

              cdrome Chris Drome
              mithun Mithun Radhakrishnan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: