Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-3755

Inconsistent Exception handling in Hive Processors with UGIs

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None

      Description

      Hive Processors that use UserGroupInformation objects to perform operations with a given identity use the ugi.doAs() method to do so. This method can throw an UndeclaredThrowableException wrapping the actual exception if it isn't one of a few specific exceptions.

      We need to unwrap the exception and throw the cause in the same way as the non-ugi code in order to maintain consistent behavior.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bryanrosander@gmail.com Bryan Rosander
                Reporter:
                bryanrosander@gmail.com Bryan Rosander
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: