hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Work logged] (HIVE-21213) Acid table bootstrap replication needs to handle directory created by compaction with txn id
Date Mon, 01 Apr 2019 13:30:04 GMT

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

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

                Author: ASF GitHub Bot
            Created on: 01/Apr/19 13:29
            Start Date: 01/Apr/19 13:29
    Worklog Time Spent: 10m 
      Work Description: maheshk114 commented on pull request #587: HIVE-21213 : Acid table
bootstrap replication needs to handle directory created by compaction with txn id
URL: https://github.com/apache/hive/pull/587
 
 
   …
 
----------------------------------------------------------------
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: 221288)
            Time Spent: 10m
    Remaining Estimate: 0h

> Acid table bootstrap replication needs to handle directory created by compaction with
txn id
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-21213
>                 URL: https://issues.apache.org/jira/browse/HIVE-21213
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Hive, HiveServer2, repl
>            Reporter: mahesh kumar behera
>            Assignee: mahesh kumar behera
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-21213.01.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The current implementation of compaction uses the txn id in the directory name. This
is used to isolate the queries from reading the directory until compaction has finished and
to avoid the compactor marking used earlier. In case of replication, during bootstrap , directory
is copied as it is with the same name from source to destination cluster. But the directory
created by compaction with txn id can not be copied as the txn list at target may be different
from source. The txn id which is valid at source may be an aborted txn at target. So conversion
logic is required to create a new directory with valid txn at target and dump the data to
the newly created directory.



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

Mime
View raw message