hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vaibhav Gumashta (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HIVE-21225) ACID: getAcidState() should cache a recursive dir listing locally
Date Sun, 14 Jul 2019 07:52:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-21225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16884602#comment-16884602
] 

Vaibhav Gumashta edited comment on HIVE-21225 at 7/14/19 7:51 AM:
------------------------------------------------------------------

Looks like the export import integration with mm-tables also creates a weird dir structure
like: {{mm_table_import/delta_0000001_0000001_0000/export_old_delta_0000001_0000001_0000/000000_0}}
...

[~gopalv] In this case, the original assumption of not needing a tree like structure for capturing
a recursive dir listing breaks.


was (Author: vgumashta):
Looks like the export import integration with mm-tables also creates a weird dir structure
like: {{mm_table_import/delta_0000001_0000001_0000/export_old_delta_0000001_0000001_0000/000000_0}}
...

> ACID: getAcidState() should cache a recursive dir listing locally
> -----------------------------------------------------------------
>
>                 Key: HIVE-21225
>                 URL: https://issues.apache.org/jira/browse/HIVE-21225
>             Project: Hive
>          Issue Type: Improvement
>          Components: Transactions
>            Reporter: Gopal V
>            Assignee: Vaibhav Gumashta
>            Priority: Major
>         Attachments: HIVE-21225.1.patch, HIVE-21225.2.patch, HIVE-21225.3.patch, HIVE-21225.4.patch,
HIVE-21225.4.patch, HIVE-21225.5.patch, HIVE-21225.6.patch, HIVE-21225.7.patch, HIVE-21225.7.patch,
HIVE-21225.8.patch, HIVE-21225.9.patch, async-pid-44-2.svg
>
>
> Currently getAcidState() makes 3 calls into the FS api which could be answered by making
a single recursive listDir call and reusing the same data to check for isRawFormat() and isValidBase().
> All delta operations for a single partition can go against a single listed directory
snapshot instead of interacting with the NameNode or ObjectStore within the inner loop.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message