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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0, 4.0.0
    • Fix Version/s: 3.2.0, 4.0.0
    • Component/s: None
    • Labels:
      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 Deepak Jaiswal

        Attachments

        1. HIVE-20066.1.patch
          0.8 kB
          Daniel Voros

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: