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

ReplChangeManager should use FileSystem object from current thread

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • 3.1.0, 3.0.0
    • None
    • None

    Description

      ReplChangeManager is a singleton and it has member FileSystem object that is created during initialization and then is re-used across recycle method calls.

      With doAs=true mode, this doesn't work well as the FileSystem object would have been created using a user different from the current user.
      This is also leading to errors with doAs=false mode, with long running HS2 instances, as it is failing to renew the kerberos tickets (reason for this effect is unclear).

      Attachments

        1. HIVE-17930.1.patch
          2 kB
          Thejas Nair

        Issue Links

          Activity

            People

              thejas Thejas Nair
              thejas Thejas Nair
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: