[ 
https://issues.apache.org/jira/browse/NIFI-3755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15989038#comment-15989038
 ] 

ASF GitHub Bot commented on NIFI-3755:
--------------------------------------

Github user bbende commented on the issue:

    https://github.com/apache/nifi/pull/1711
  
    Looks good, tested this out and the error handling appears to work 
correctly now, will merge to master and include for 1.2, thanks!


> 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