Details
-
Bug
-
Status: Patch Available
-
Critical
-
Resolution: Unresolved
-
2.2.0
-
None
-
None
Description
MSCK REPAIR TABLE hanging while running with multi-threading enabled (default). I think it is because of a major design flaw in how thread pool implemented in HiveMetaSoreChecker class / checkPartitionDirs method. This method has a thread pool which register Callable but callable makes a recursive call to checkPartitionDirs method again. This code will hang when number of directories is more than thread pool size.