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

hive.load.data.owner is compared to full principal

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.0, 4.0.0
    • 3.2.0, 4.0.0-alpha-1
    • None
    • None

    Description

      HIVE-19928 compares the user running HS2 to the configured owner (hive.load.data.owner) to check if we're able to move the file with LOAD DATA or need to copy.

      This check compares the full username (that may contain the full kerberos principal) to hive.load.data.owner. We should compare to the short username (UGI.getShortUserName()) instead. That's used in similar context here.

      cc djaiswal

      Attachments

        1. HIVE-20066.1.patch
          0.8 kB
          Daniel Voros

        Issue Links

          Activity

            People

              dvoros Daniel Voros
              dvoros Daniel Voros
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: