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

HS2 creates DBs/Tables with wrong ownership when HMS setugi is true

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.12.0, 0.13.0
    • Fix Version/s: 0.14.0
    • Component/s: HiveServer2
    • Labels:
      None

      Description

      The case with following settings is valid but does not work correctly in current HS2:
      ==
      hive.server2.authentication=NONE (or LDAP)
      hive.server2.enable.doAs= true
      hive.metastore.sasl.enabled=false
      hive.metastore.execute.setugi=true
      ==
      Ideally, HS2 is able to impersonate the logged in user (from Beeline, or JDBC application) and create DBs/Tables with user's ownership.

        Attachments

        1. HIVE-6245.patch
          2 kB
          Chaoyu Tang
        2. HIVE-6245.5.patch
          14 kB
          Venki Korukanti
        3. HIVE-6245.4.patch
          15 kB
          Venki Korukanti
        4. HIVE-6245.3.patch.txt
          9 kB
          Venki Korukanti
        5. HIVE-6245.2.patch.txt
          1 kB
          Venki Korukanti

          Issue Links

            Activity

              People

              • Assignee:
                vkorukanti Venki Korukanti
                Reporter:
                ctang Chaoyu Tang
              • Votes:
                0 Vote for this issue
                Watchers:
                15 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: