[ https://issues.apache.org/jira/browse/HIVE-17403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16161911#comment-16161911 ]
Hive QA commented on HIVE-17403: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12886472/HIVE-17403.3.patch {color:green}SUCCESS:{color} +1 due to 3 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 4 failed/errored test(s), 11036 tests executed *Failed tests:* {noformat} TestAccumuloCliDriver - did not produce a TEST-*.xml file (likely timed out) (batchId=230) TestDummy - did not produce a TEST-*.xml file (likely timed out) (batchId=230) org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[insert_values_orig_table_use_metadata] (batchId=61) org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[explainanalyze_2] (batchId=100) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/6770/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/6770/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-6770/ 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: 4 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12886472 - PreCommit-HIVE-Build > Fail concatenation for unmanaged and transactional tables > --------------------------------------------------------- > > Key: HIVE-17403 > URL: https://issues.apache.org/jira/browse/HIVE-17403 > Project: Hive > Issue Type: Bug > Affects Versions: 1.3.0, 3.0.0, 2.4.0 > Reporter: Prasanth Jayachandran > Assignee: Prasanth Jayachandran > Priority: Blocker > Attachments: HIVE-17403.1.patch, HIVE-17403.2.patch, > HIVE-17403.2.patch, HIVE-17403.3.patch > > > ALTER TABLE .. CONCATENATE should fail if the table is not managed by hive. > For unmanaged tables, file names can be anything. Hive has some assumptions > about file names which can result in data loss for unmanaged tables. > Example of this is a table/partition having 2 different files files > (part-m-00000__1417075294718 and part-m-00018__1417075294718). Although both > are completely different files, hive thinks these are files generated by > separate instances of same task (because of failure or speculative > execution). Hive will end up removing this file > {code} > 2017-08-28T18:19:29,516 WARN [b27f10d5-d957-4695-ab2a-1453401793df main]: > exec.Utilities (:()) - Duplicate taskid file removed: > file:/Users/table/part=20141120/.hive-staging_hive_2017-08-28_18-19-27_210_3381701454205724533-1/_tmp.-ext-10000/part-m-00018__1417075294718 > with length 958510. Existing file: > file:/Users/table/part=20141120/.hive-staging_hive_2017-08-28_18-19-27_210_3381701454205724533-1/_tmp.-ext-10000/part-m-00000__1417075294718 > with length 1123116 > {code} > DDL should restrict concatenation for unmanaged tables. -- This message was sent by Atlassian JIRA (v6.4.14#64029)