[ https://issues.apache.org/jira/browse/HIVE-8401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14168270#comment-14168270 ]
Hive QA commented on HIVE-8401: ------------------------------- {color:red}Overall{color}: -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12673702/HIVE-8401.1.patch {color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 4137 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_tez_smb_1 {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/1215/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/1215/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-1215/ Messages: {noformat} 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: 1 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12673702 > OrcFileMergeOperator only close last orc file it opened, which resulted in > stale data in table directory > -------------------------------------------------------------------------------------------------------- > > Key: HIVE-8401 > URL: https://issues.apache.org/jira/browse/HIVE-8401 > Project: Hive > Issue Type: Bug > Affects Versions: 0.14.0 > Environment: Windows Server > Reporter: Xiaobing Zhou > Assignee: Xiaobing Zhou > Priority: Critical > Attachments: HIVE-8401.1.patch, alter_merge_2_orc.q.out > > > run the test > {noformat} > mvn -Phadoop-2 test -Dtest=TestCliDriver -Dqfile=alter_merge_2_orc.q > {noformat} > to reproduce it. Simply, this query does three data loads which generates > three orc files, ALTER TABLE CONCATENATE tries to merge orc pieces into a > single one which is final file to queried. > Output > \hive\itests\qtest\target\qfile-results\clientpositive\alter_merge_2_orc.q.out > shows # records as 600 that is wrong as opposed to 610 expected. > Because OrcFileMergeOperator only closes last orc file, the 1st and 2nd orc > files still remain in table directory due to failure of deleting unclosed > file for old data clean when MoveTask tries to copy merged orc file from > scratch dir to table dir. Eventually the query goes to old data(1st and 2nd > orc files). -- This message was sent by Atlassian JIRA (v6.3.4#6332)