Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.12.0
-
None
Description
org.apache.hadoop.hive.ql.security.authorization.StorageBasedAuthorizationProvider
has the following 2 methods
private HiveException hiveException(Exception e)
{ HiveException ex = new HiveException(e); ex.initCause(e); return ex; }private AuthorizationException authorizationException(Exception e)
{ AuthorizationException ex = new AuthorizationException(e); ex.initCause(e); return ex; }both, when called, will cause
throw new IllegalStateException("Can't overwrite cause"); to be thrown and the original Exception is lost.