Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.20.204.0, 0.20.205.0
-
None
-
Reviewed
Description
As a part of datanode process hang, this part of code was introduced in 0.20.204 to clean up all the waiting threads.
- try
{
- readPool.awaitTermination(10, TimeUnit.SECONDS);
- }
catch (InterruptedException e)
{ - LOG.info("Exception occured in doStop:" + e.getMessage()); - } - readPool.shutdownNow();
This was clearly meant for production, but all the unit tests uses minidfscluster and minimrcluster for shutdown which waits on this part of the code. Due to this, we saw increase in unit test run times. So removing this code.