[ https://issues.apache.org/jira/browse/HIVE-16813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16043308#comment-16043308 ]
Hive QA commented on HIVE-16813: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12872108/HIVE-16813.02.patch {color:green}SUCCESS:{color} +1 due to 2 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 8 failed/errored test(s), 10822 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestBeeLineDriver.testCliDriver[create_merge_compressed] (batchId=237) org.apache.hadoop.hive.cli.TestBeeLineDriver.testCliDriver[materialized_view_create_rewrite] (batchId=237) org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[infer_bucket_sort] (batchId=78) org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[orc_ppd_basic] (batchId=140) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[columnstats_part_coltype] (batchId=157) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_if_expr] (batchId=145) org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query14] (batchId=232) org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query78] (batchId=232) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/5584/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/5584/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-5584/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase 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: 12872108 - PreCommit-HIVE-Build > Incremental REPL LOAD should load the events in the same sequence as it is > dumped. > ---------------------------------------------------------------------------------- > > Key: HIVE-16813 > URL: https://issues.apache.org/jira/browse/HIVE-16813 > Project: Hive > Issue Type: Sub-task > Components: Hive, repl > Affects Versions: 2.1.0 > Reporter: Sankar Hariappan > Assignee: Sankar Hariappan > Labels: DR, replication > Attachments: HIVE-16813.01.patch, HIVE-16813.02.patch > > > Currently, incremental REPL DUMP use $dumpdir/<eventID> to dump the metadata > and data files corresponding to the event. The event is dumped in the same > sequence in which it was generated. > Now, REPL LOAD, lists the directories inside $dumpdir using listStatus and > sort it using compareTo algorithm of FileStatus class which doesn't check the > length before sorting it alphabetically. > Due to this, the event-100 is processed before event-99 and hence making the > replica database non-sync with source. > Need to use a customized compareTo algorithm to sort the FileStatus. -- This message was sent by Atlassian JIRA (v6.3.15#6346)