hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sankar Hariappan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-17183) Disable rename operations during bootstrap dump
Date Wed, 09 Aug 2017 12:00:06 GMT

     [ https://issues.apache.org/jira/browse/HIVE-17183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sankar Hariappan updated HIVE-17183:
------------------------------------
    Attachment: HIVE-17183.01.patch

Added 01.patch with below changes.
- Added new parameter (bootstrap.dump.state) to database object.
- Set the value to "active" when bootstrap dump in progress and "idle" if not.
- Added a test case to verify concurrent rename partition/table when bootstrap dump in progress.

Request [~anishek]/[~daijy]/[~thejas] to please review the patch!

> Disable rename operations during bootstrap dump
> -----------------------------------------------
>
>                 Key: HIVE-17183
>                 URL: https://issues.apache.org/jira/browse/HIVE-17183
>             Project: Hive
>          Issue Type: Sub-task
>          Components: repl
>    Affects Versions: 2.1.0
>            Reporter: Sankar Hariappan
>            Assignee: Sankar Hariappan
>              Labels: DR, replication
>             Fix For: 3.0.0
>
>         Attachments: HIVE-17183.01.patch
>
>
> Currently, bootstrap dump shall lead to data loss when any rename happens while dump
in progress. This feature can be supported in next phase development as it need proper design
to keep track of renamed tables/partitions. 
> So, for time being, we shall disable rename operations when bootstrap dump in progress
to avoid any inconsistent state.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message