简体   繁体   中英

Getting error while performing insert operation in hive 1.0.0 when integrate with tez0.5.2

iam using hive 1.0.0 and tez 0.5.2. when i set hive.execution.engine value in hive-site.xml to tez select query works well... but in case of insert getting error. the query is :

insert into table tablename values(intvalue,'string value');

and the error is :

FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.Tez Task

As far as I know you can't just do "insert" into a hive table. Can you create your table as an EXTERNAL TABLE or use LOAD DATA INPATH ?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM