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 2019/11/25 23:37:00 UTC

[jira] [Work logged] (HIVE-22537) getAcidState() not saving directory snapshot causes multiple calls to S3 api

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

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

                Author: ASF GitHub Bot
            Created on: 25/Nov/19 23:36
            Start Date: 25/Nov/19 23:36
    Worklog Time Spent: 10m 
      Work Description: mustafaiman commented on pull request #854: HIVE-22537: getAcidState() not saving directory causes multiple files…
URL: https://github.com/apache/hive/pull/854
 
 
   …ystem calls
   
   getAcidState() can make use of single recursive directory listing call and save a snapshot of the directory. Later this snapshot is used to probe existence of some files, such as _acid_version. This optimization was turned of in OrcInputFormat. Even after turning this on, isCompactedBase and isMetadataFile were not using the snapshot saved.
   
   Change-Id: I9eb69b1715c7f577ec5e5b21e505bbed5a953230
 
----------------------------------------------------------------
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: 349433)
    Remaining Estimate: 0h
            Time Spent: 10m

> getAcidState() not saving directory snapshot causes multiple calls to S3 api
> ----------------------------------------------------------------------------
>
>                 Key: HIVE-22537
>                 URL: https://issues.apache.org/jira/browse/HIVE-22537
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 4.0.0
>            Reporter: Mustafa Iman
>            Assignee: Mustafa Iman
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-22537.2.patch, HIVE-22537.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Fix for HIVE-21225 is not enabled in query coordinator codepath. The last argument (generateDirSnapshots) for getAcidState() is set to false when invoked by callInternal(). Also, snapshot is not used for file exists calls.



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