hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vihang Karajgaonkar (JIRA)" <>
Subject [jira] [Commented] (HIVE-19804) msck repair should hold locks
Date Tue, 05 Jun 2018 20:43:00 GMT


Vihang Karajgaonkar commented on HIVE-19804:

[~ashutoshc] [~sershe] any thoughts?

> msck repair should hold locks
> -----------------------------
>                 Key: HIVE-19804
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Vihang Karajgaonkar
>            Priority: Major
> {msck repair table <tablename>}} does not hold locks. This can lead to weird race
conditions when concurrent sessions are running on the same table.  For example if two sessions
run msck on the same table at the same time, they both try to add partitions and they might
both end up with failures due to AlreadyExistsException. Another example would be if a query
is running on a partitioned table while some other session issues msck repair which add/drops
the partitions, it could trigger errors during query execution.

This message was sent by Atlassian JIRA

View raw message