[ https://issues.apache.org/jira/browse/HIVE-8920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14260905#comment-14260905 ]
Hive QA commented on HIVE-8920: ------------------------------- {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/12689440/HIVE-8920.3-spark.patch {color:red}ERROR:{color} -1 due to 7 failed/errored test(s), 7281 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_sample_islocalmode_hook org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_optimize_nullscan org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_list_bucket_dml_10 org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_optimize_nullscan org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_ppd_join4 org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_windowing org.apache.hive.hcatalog.streaming.TestStreaming.testEndpointConnection {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-SPARK-Build/598/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-SPARK-Build/598/console Test logs: http://ec2-50-18-27-0.us-west-1.compute.amazonaws.com/logs/PreCommit-HIVE-SPARK-Build-598/ 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: 7 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12689440 - PreCommit-HIVE-SPARK-Build > IOContext problem with multiple MapWorks cloned for multi-insert [Spark > Branch] > ------------------------------------------------------------------------------- > > Key: HIVE-8920 > URL: https://issues.apache.org/jira/browse/HIVE-8920 > Project: Hive > Issue Type: Sub-task > Components: Spark > Affects Versions: spark-branch > Reporter: Chao > Assignee: Xuefu Zhang > Attachments: HIVE-8920.1-spark.patch, HIVE-8920.2-spark.patch, > HIVE-8920.3-spark.patch > > > The following query will not work: > {code} > from (select * from table0 union all select * from table1) s > insert overwrite table table3 select s.x, count(1) group by s.x > insert overwrite table table4 select s.y, count(1) group by s.y; > {code} > Currently, the plan for this query, before SplitSparkWorkResolver, looks like > below: > {noformat} > M1 M2 > \ / \ > U3 R5 > | > R4 > {noformat} > In {{SplitSparkWorkResolver#splitBaseWork}}, it assumes that the > {{childWork}} is a ReduceWork, but for this case, you can see that for M2 the > childWork could be UnionWork U3. Thus, the code will fail. > HIVE-9041 addressed partially addressed the problem by removing union task. > However, it's still necessary to cloning M1 and M2 to support multi-insert. > Because M1 and M2 can run in a single JVM, the original solution of storing a > global IOContext will not work because M1 and M2 have different io contexts, > both needing to be stored. -- This message was sent by Atlassian JIRA (v6.3.4#6332)