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

User impersonation failure is not propagated by server as a failure to client

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Won't Fix
    • 3.0.0
    • 4.0.0-alpha-2
    • HiveServer2
    • None

    Description

      As part of HIVE-17512 we fixed the distCp user impersonation if doAs = false and configured "hive.distcp.privileged.doAs" is same as the user running hiveServer. However in the event of not applying the source in patch for HIVE-17512 and running the corresponding test run in HIVE-17512 with older code there is impersonation error in the hive server logs, however the driver returns an "exitValue" of 0 which is wrong, since the copy failed we should return the error code appropriately.

      also since the table creation happens and only data is missing there is a possibility that the last.repl.id on the table is the latest value with the data missing and coupled with no error returned to the client this can lead to serious replication inconsistencies.

      Attachments

        Activity

          People

            anishek Anishek Agarwal
            anishek Anishek Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: