Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
It looks to me that the main logic is duplicated, because of multithereading support:
- HiveMetaStoreChecker#PathDepthInfoCallable#processPathDepthInfo
- HiveMetaStoreChecker#checkPartitionDirsSingleThreaded
It might be possible to remove the singleThreaded methods by using a special executor for single thread support: MoreExecutors.sameThreadExecutor().