hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Vovchenko (JIRA)" <>
Subject [jira] [Created] (HIVE-15440) Multiple inserts query from the union table failed by java.lang.IllegalArgumentException
Date Thu, 15 Dec 2016 20:21:59 GMT
Aleksey Vovchenko created HIVE-15440:

             Summary: Multiple inserts query from the union table failed by java.lang.IllegalArgumentException
                 Key: HIVE-15440
             Project: Hive
          Issue Type: Bug
            Reporter: Aleksey Vovchenko

STEP 1. Configure Hive on Tez

STEP2.  Create test tables

hive> create table t1(x int);
hive> create table t2(x int);
hive> create table t1_tmp(x int);
hive> create table t2_tmp(x int);

STEP 3. Run query

hive> from(select x from t1 union all select x from t2)tbl insert overwrite table t1_tmp
select x insert overwrite table t2_tmp select x;


2016-11-30 13:50:51,610 ERROR [main]: exec.Task ( - Failed to execute
tez graph.
java.lang.IllegalArgumentException: VertexGroup must have at least 2 members
	at org.apache.tez.dag.api.VertexGroup.<init>(
	at org.apache.tez.dag.api.DAG.createVertexGroup(
	at org.apache.hadoop.hive.ql.exec.tez.TezTask.execute(
	at org.apache.hadoop.hive.ql.exec.Task.executeTask(
	at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(
	at org.apache.hadoop.hive.ql.Driver.launchTask(
	at org.apache.hadoop.hive.ql.Driver.execute(
	at org.apache.hadoop.hive.ql.Driver.runInternal(
	at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(
	at org.apache.hadoop.hive.cli.CliDriver.processCmd(
	at org.apache.hadoop.hive.cli.CliDriver.processLine(
	at org.apache.hadoop.hive.cli.CliDriver.executeDriver(
	at org.apache.hadoop.hive.cli.CliDriver.main(
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.lang.reflect.Method.invoke(
	at org.apache.hadoop.util.RunJar.main(

This issue doesn't happen on MR mode.

This message was sent by Atlassian JIRA

View raw message