hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-19267) Create/Replicate ACID Write event
Date Thu, 21 Jun 2018 05:06:00 GMT

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

Hive QA commented on HIVE-19267:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12928367/HIVE-19267.17.patch

{color:green}SUCCESS:{color} +1 due to 4 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 8 failed/errored test(s), 14524 tests executed
*Failed tests:*
{noformat}
TestAlterTableMetadata - did not produce a TEST-*.xml file (likely timed out) (batchId=236)
TestAutoPurgeTables - did not produce a TEST-*.xml file (likely timed out) (batchId=236)
TestClearDanglingScratchDir - did not produce a TEST-*.xml file (likely timed out) (batchId=236)
TestLocationQueries - did not produce a TEST-*.xml file (likely timed out) (batchId=236)
TestReplicationScenariosAcidTables - did not produce a TEST-*.xml file (likely timed out)
(batchId=236)
TestSemanticAnalyzerHookLoading - did not produce a TEST-*.xml file (likely timed out) (batchId=236)
TestSparkStatistics - did not produce a TEST-*.xml file (likely timed out) (batchId=236)
TestStorageBasedMetastoreAuthorizationProvider - did not produce a TEST-*.xml file (likely
timed out) (batchId=236)
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/11959/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/11959/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-11959/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 8 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12928367 - PreCommit-HIVE-Build

> Create/Replicate ACID Write event
> ---------------------------------
>
>                 Key: HIVE-19267
>                 URL: https://issues.apache.org/jira/browse/HIVE-19267
>             Project: Hive
>          Issue Type: Sub-task
>          Components: repl, Transactions
>    Affects Versions: 3.0.0
>            Reporter: mahesh kumar behera
>            Assignee: mahesh kumar behera
>            Priority: Major
>              Labels: ACID, DR, pull-request-available, replication
>         Attachments: HIVE-19267.01.patch, HIVE-19267.02.patch, HIVE-19267.03.patch, HIVE-19267.04.patch,
HIVE-19267.05.patch, HIVE-19267.06.patch, HIVE-19267.07.patch, HIVE-19267.08.patch, HIVE-19267.09.patch,
HIVE-19267.10.patch, HIVE-19267.11.patch, HIVE-19267.12.patch, HIVE-19267.13.patch, HIVE-19267.14.patch,
HIVE-19267.15.patch, HIVE-19267.16.patch, HIVE-19267.17.patch, HIVE-19267.17.patch
>
>
>  
> h1. Replicate ACID write Events
>  * Create new EVENT_WRITE event with related message format to log the write operations
with in a txn along with data associated.
>  * Log this event when perform any writes (insert into, insert overwrite, load table,
delete, update, merge, truncate) on table/partition.
>  * If a single MERGE/UPDATE/INSERT/DELETE statement operates on multiple partitions,
then need to log one event per partition.
>  * DbNotificationListener should log this type of event to special metastore table named
"MTxnWriteNotificationLog".
>  * This table should maintain a map of txn ID against list of tables/partitions written
by given txn.
>  * The entry for a given txn should be removed by the cleaner thread that removes the
expired events from EventNotificationTable.
> h1. Replicate Commit Txn operation (with writes)
> Add new EVENT_COMMIT_TXN to log the metadata/data of all tables/partitions modified within
the txn.
> *Source warehouse:*
>  * This event should read the EVENT_WRITEs from "MTxnWriteNotificationLog" metastore
table to consolidate the list of tables/partitions modified within this txn scope.
>  * Based on the list of tables/partitions modified and table Write ID, need to compute
the list of delta files added by this txn.
>  * Repl dump should read this message and dump the metadata and delta files list.
> *Target warehouse:*
>  * Ensure snapshot isolation at target for on-going read txns which shouldn't view the
data replicated from committed txn. (Ensured with open and allocate write ID events).



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

Mime
View raw message