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

metastore add partitions background thread should use current username

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.1, 2.2.0
    • Fix Version/s: 2.1.1, 2.2.0
    • Component/s: Metastore
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      The background thread used in HIVE-13901 for adding partitions needs to be reinitialized with current UGI for each invocation. Otherwise the user in context while thread was created would be the current UGI during the actions in the thread.

        Attachments

        1. HIVE-15137.1.patch
          5 kB
          Jianyong Dai
        2. HIVE-15137.2.patch
          6 kB
          Jianyong Dai
        3. HIVE-15137.3.patch
          6 kB
          Jianyong Dai

          Issue Links

            Activity

              People

              • Assignee:
                daijy Jianyong Dai
                Reporter:
                thejas Thejas Nair
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: