You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2018/10/08 18:45:00 UTC

[jira] [Commented] (SENTRY-2249) Persist HMS Full Snapshot in batches.

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

Hadoop QA commented on SENTRY-2249:
-----------------------------------

Here are the results of testing the latest attachment
https://issues.apache.org/jira/secure/attachment/12942848/SENTRY-2249.002.patch against master.

{color:green}Overall:{color} +1 all checks pass

{color:green}SUCCESS:{color} all tests passed

Console output: https://builds.apache.org/job/PreCommit-SENTRY-Build/4169/console

This message is automatically generated.

> Persist HMS Full Snapshot in batches.
> -------------------------------------
>
>                 Key: SENTRY-2249
>                 URL: https://issues.apache.org/jira/browse/SENTRY-2249
>             Project: Sentry
>          Issue Type: Improvement
>          Components: Sentry
>    Affects Versions: 2.1.0
>            Reporter: kalyan kumar kalvagadda
>            Assignee: kalyan kumar kalvagadda
>            Priority: Major
>         Attachments: SENTRY-2249.001.patch, SENTRY-2249.002.patch
>
>
> Currently each entry in full snapshot of HMS is persisted one entry at a time. Instead it could be optimized by persisting the entries in batches. DB operations are expensive, reducing the number of database operations should help. This would decrease the time to persist the snapshot in to database significantly.
> Size of the batch could be configurable.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)