[ 
https://issues.apache.org/jira/browse/HIVE-24428?focusedWorklogId=532456&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-532456
 ]

ASF GitHub Bot logged work on HIVE-24428:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 07/Jan/21 13:18
            Start Date: 07/Jan/21 13:18
    Worklog Time Spent: 10m 
      Work Description: deniskuzZ commented on a change in pull request #1724:
URL: https://github.com/apache/hive/pull/1724#discussion_r553321185



##########
File path: 
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
##########
@@ -281,6 +279,7 @@ public static boolean isRenameAllowed(Database srcDB, 
Database destDB) {
     static AtomicInteger databaseCount, tableCount, partCount;
 
     private Warehouse wh; // hdfs warehouse
+    private static Striped<Lock> tablelocks;

Review comment:
       i think, it doesn't have to be static




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 532456)
    Time Spent: 3h 20m  (was: 3h 10m)

> Concurrent add_partitions requests may lead to data loss
> --------------------------------------------------------
>
>                 Key: HIVE-24428
>                 URL: https://issues.apache.org/jira/browse/HIVE-24428
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zoltan Haindrich
>            Assignee: Zoltan Haindrich
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 3h 20m
>  Remaining Estimate: 0h
>
> in case multiple clients are adding partitions to the same table - when the 
> same partition is being added there is a chance that the data dir is removed 
> after the other client have already written its data
> https://github.com/apache/hive/blob/5e96b14a2357c66a0640254d5414bc706d8be852/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java#L3958



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to