[ https://issues.apache.org/jira/browse/HIVE-21269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16768455#comment-16768455 ]
Hive QA commented on HIVE-21269: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12958712/HIVE-21269.01.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 15792 tests executed *Failed tests:* {noformat} TestMiniTezCliDriver - did not produce a TEST-*.xml file (likely timed out) (batchId=110) [explainanalyze_4.q,acid_vectorization_original_tez.q,orc_merge12.q,tez_union_with_udf.q] org.apache.hadoop.hive.shims.TestHadoop23Shims.testConstructDistCpParams (batchId=279) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/16075/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/16075/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-16075/ 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: 2 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12958712 - PreCommit-HIVE-Build > Mandate -update and -delete as DistCp options to sync data files for > external tables replication. > -------------------------------------------------------------------------------------------------- > > Key: HIVE-21269 > URL: https://issues.apache.org/jira/browse/HIVE-21269 > Project: Hive > Issue Type: Bug > Components: repl > Affects Versions: 4.0.0 > Reporter: Sankar Hariappan > Assignee: Sankar Hariappan > Priority: Major > Labels: DR, pull-request-available, replication > Attachments: HIVE-21269.01.patch > > Time Spent: 10m > Remaining Estimate: 0h > > Currently, external tables replication, copies the data in directory level. > So, if target directory exist, then DistCp should compare and update or skip > data files in the directory instead of creating new directory inside > pre-existing target directory. > This can be achieved using -update. > Also, -delete option is needed to delete the files missing in source > directory but present in target. > Hive should mandate these DistCp options even if user passes other options. -- This message was sent by Atlassian JIRA (v7.6.3#76005)