Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
Typo in the class name aside, this keeps running and thrashing through every single DB in the cluster if not all directories are actually accessible to the user who runs HS2.
2018-08-24T03:14:41,932 INFO [PrivilegeSynchonizer] metastore.HiveMetaStore: 1: get_table : tbl=hive.airline_ontime.flights_raw 2018-08-24T03:14:41,932 INFO [PrivilegeSynchonizer] HiveMetaStore.audit: ugi=gopal ip=unknown-ip-addr cmd=get_table : tbl=hive.airline_ontime.flights_raw
The minimum fix needed is to move the Thread.sleep() outside of the try/catch block, so that the sleep is triggered even if the attempt throws an exception.