You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/08/10 04:37:00 UTC

[jira] [Work logged] (HIVE-23960) Partition with no column statistics leads to unbalanced calls to openTransaction/commitTransaction error during get_partitions_by_names

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

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

                Author: ASF GitHub Bot
            Created on: 10/Aug/20 04:36
            Start Date: 10/Aug/20 04:36
    Worklog Time Spent: 10m 
      Work Description: pkumarsinha commented on pull request #1343:
URL: https://github.com/apache/hive/pull/1343#issuecomment-671158062


   > Could you please add a test case too, which would be failing before the fix, and running now?
   > Thanks,
   > Peter
   Done
   


----------------------------------------------------------------
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:
users@infra.apache.org


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

    Worklog Id:     (was: 468390)
    Time Spent: 40m  (was: 0.5h)

> Partition with no column statistics leads to unbalanced calls to openTransaction/commitTransaction error during get_partitions_by_names
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-23960
>                 URL: https://issues.apache.org/jira/browse/HIVE-23960
>             Project: Hive
>          Issue Type: Task
>            Reporter: Pravin Sinha
>            Assignee: Pravin Sinha
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-23960.01.patch, HIVE-23960.02.patch, HIVE-23960.03.patch
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> {color:#172b4d}Creating a partition with data and adding another partition is leading to unbalanced calls to open/commit transaction during get_partitions_by_names call.{color}
> {color:#172b4d}Issue was discovered during REPL DUMP operation which uses  this HMS call to get the metadata of partition. This error occurs when there is a partition with no column statistics.{color}
> {color:#172b4d}To reproduce:{color}
> {code:java}
> CREATE TABLE student_part_acid(name string, age int, gpa double) PARTITIONED BY (ds string) STORED AS orc;
> LOAD DATA INPATH ‘/user/hive/partDir/student_part_acid/ds=20110924’ INTO TABLE student_part_acid partition(ds=20110924);
> ALTER TABLE student_part_acid ADD PARTITION (ds=20110925);
> Now if we try to preform REPL DUMP it fails with this the error "Unbalanced calls to open/commit transaction" on the HS2 side. 
> {code}



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