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

Hive QA commented on HIVE-22501:
--------------------------------



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

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 3 failed/errored test(s), 17702 tests 
executed
*Failed tests:*
{noformat}
TestStatsReplicationScenariosACIDNoAutogather - did not produce a TEST-*.xml 
file (likely timed out) (batchId=256)
org.apache.hadoop.hive.ql.TestWarehouseExternalDir.testManagedPaths 
(batchId=276)
org.apache.hive.jdbc.TestSSL.testMetastoreConnectionWrongCertCN (batchId=284)
{noformat}

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

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: 3 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12985961 - PreCommit-HIVE-Build

> Stats reported multiple times during MR execution for UNION queries
> -------------------------------------------------------------------
>
>                 Key: HIVE-22501
>                 URL: https://issues.apache.org/jira/browse/HIVE-22501
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Daniel Voros
>            Assignee: Daniel Voros
>            Priority: Major
>              Labels: mapreduce
>         Attachments: HIVE-22501.1.patch
>
>
> Take the following example:
> {code}
> set hive.execution.engine=mr;
> create table tb(id string) stored as orc;
> insert into tb values('1');
> create table tb2 like tb stored as orc;
> insert into tb2 select * from tb union all select * from tb;
> {code}
> Last insert results in 2 records in the table, but 
> {{TOTAL_TABLE_ROWS_WRITTEN}} statistic (and number of affected rows on the 
> consolse) is 4.
> We seem to traverse the operator graph multiple times starting from every TS 
> operator and increment the counters every time we hit the FS operator. 
> UNION-ing the table 3 times results in 9 TOTAL_TABLE_ROWS_WRITTEN.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to