Bryan Rosander created NIFI-3755:
------------------------------------

             Summary: Inconsistent Exception handling in Hive Processors with 
UGIs
                 Key: NIFI-3755
                 URL: https://issues.apache.org/jira/browse/NIFI-3755
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Bryan Rosander
            Assignee: Bryan Rosander


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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to