Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
0.12.0
-
None
-
None
Description
AuthorizationPreEventListener has following code that will result in "Can't overwrite exception" being thrown, and also mask the lower level exception.
private InvalidOperationException invalidOperationException(Exception e) { InvalidOperationException ex = new InvalidOperationException(); ex.initCause(e.getCause()); return ex; } private MetaException metaException(HiveException e) { MetaException ex = new MetaException(e.getMessage()); ex.initCause(e); return ex; }
Attachments
Issue Links
- is related to
-
HIVE-5051 StorageBasedAuthorizationProvider masks lower level exception with IllegalStateException
- Closed