You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Bryan Rosander (JIRA)" <ji...@apache.org> on 2017/04/27 19:38:04 UTC
[jira] [Created] (NIFI-3755) Inconsistent Exception handling in
Hive Processors with UGIs
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)