You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Zoltan Haindrich (JIRA)" <ji...@apache.org> on 2017/03/06 11:00:35 UTC

[jira] [Created] (HIVE-16119) HiveMetaStoreChecker - singleThread/parallel logic duplication

Zoltan Haindrich created HIVE-16119:
---------------------------------------

             Summary: HiveMetaStoreChecker - singleThread/parallel logic duplication
                 Key: HIVE-16119
                 URL: https://issues.apache.org/jira/browse/HIVE-16119
             Project: Hive
          Issue Type: Improvement
            Reporter: Zoltan Haindrich
            Priority: Minor


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()}}.





--
This message was sent by Atlassian JIRA
(v6.3.15#6346)