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

Inconsistent Exception handling in Hive Processors with UGIs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: