hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Vary <>
Subject Re: Review Request 53261: HIVE-15090 Temporary DB failure can stop ExpiredTokenRemover thread
Date Fri, 28 Oct 2016 14:31:36 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Oct. 28, 2016, 2:31 p.m.)

Review request for hive, Aihua Xu, Piotr Wikie?, and Thejas Nair.


Spelling issues pointed out by Zsombor, and fixed

Bugs: HIVE-15090

Repository: hive-git


Moved the try/catch into the while cycle, so the thread will keep running after the exception.
Added an extra sleep when there is an exception so we do not end up busy waiting for the solution
of the problem which caused the exception

Diffs (updated)




I have tested with the following configuration:

  <!-- So the tokens are stored in database -->
   <!-- So the removal happens often -->

Started the Metastore, and after a while I have stopped the database. When the database was
turned off the metastore logged the ExpiredTokenRemover thread received unexpected exception
message, after the database restarted the messages are stopped, and everything become normal.
In the debugger I have verified the thread is running.


Peter Vary

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message