You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2022/10/21 07:32:01 UTC
[jira] [Updated] (HIVE-14925) MSCK repair table hang while running with multi threading enabled
[ https://issues.apache.org/jira/browse/HIVE-14925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stamatis Zampetakis updated HIVE-14925:
---------------------------------------
Fix Version/s: (was: 3.2.0)
I cleared the fixVersion field since this ticket is not resolved. Please review this ticket and if the fix is already committed to a specific version please set the version accordingly and mark the ticket as RESOLVED.
According to the JIRA guidelines (https://cwiki.apache.org/confluence/display/Hive/HowToContribute) the fixVersion should be set only when the issue is resolved/closed.
> MSCK repair table hang while running with multi threading enabled
> -----------------------------------------------------------------
>
> Key: HIVE-14925
> URL: https://issues.apache.org/jira/browse/HIVE-14925
> Project: Hive
> Issue Type: Bug
> Components: CLI
> Affects Versions: 2.2.0
> Reporter: Ratheesh Kamoor
> Assignee: Ratheesh Kamoor
> Priority: Critical
> Attachments: HIVE-14925.patch
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)