hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fun" <>
Subject 回复:hive1.2.1 insert exception with transaction
Date Thu, 16 Jul 2015 13:43:54 GMT
seems like my io.sort.mb configuration is too big。  now is success without exception

------------------ 原始邮件 ------------------
发件人: "Fun";<>;
发送时间: 2015年7月16日(星期四) 晚上8:46
收件人: "user"<>; 

主题: hive1.2.1  insert exception with transaction

hi all:
    I‘m creating a transactional supportted table use sql:
     create table test(id int ,name string )clustered by (id) into 2 buckets stored as orc
   but when i insert data use sql:
     insert into table test values (1,'row1'),(2,'row2'),(3,'row3');
I get this following exception:
Diagnostic Messages for this Task:
Error: Unable to initialize any output collector
        at org.apache.hadoop.mapred.MapTask.createSortingCollector(
        at org.apache.hadoop.mapred.MapTask.runOldMapper(
        at org.apache.hadoop.mapred.YarnChild$
        at Method)
        at org.apache.hadoop.mapred.YarnChild.main(

FAILED: Execution Error, return code 2 from
MapReduce Jobs Launched: 
Stage-Stage-1: Map: 1  Reduce: 2   HDFS Read: 0 HDFS Write: 0 FAIL
Total MapReduce CPU Time Spent: 0 msec

 does anybody know why and how can i fix that?
View raw message