hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zoltan Haindrich (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-16119) HiveMetaStoreChecker: remove singleThread logic duplication
Date Thu, 09 Mar 2017 08:08:38 GMT

     [ https://issues.apache.org/jira/browse/HIVE-16119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Zoltan Haindrich updated HIVE-16119:
------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.2.0
           Status: Resolved  (was: Patch Available)

pushed to master, thank you [~vihangk1] and [~ashutoshc] for the review!

> HiveMetaStoreChecker: remove singleThread logic duplication
> -----------------------------------------------------------
>
>                 Key: HIVE-16119
>                 URL: https://issues.apache.org/jira/browse/HIVE-16119
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Zoltan Haindrich
>            Assignee: Zoltan Haindrich
>            Priority: Minor
>             Fix For: 2.2.0
>
>         Attachments: HIVE-16119.1.patch, HIVE-16119.2.patch, HIVE-16119.3.patch
>
>
> 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)

Mime
View raw message