Gs928 opened a new issue, #5461:
URL: https://github.com/apache/iceberg/issues/5461

   ### Apache Iceberg version
   
   0.12.1
   
   ### Query engine
   
   Hive
   
   ### Please describe the bug 🐞
   
   
   hive> insert into test_iceberg_tbl1 values (1,"ggs",18,"20211212");
   
   WARNING: Hive-on-MR is deprecated in Hive 2 and may not be available in the 
future versions. Consider using a different execution engine (i.e. spark, tez) 
or using Hive 1.X releases.
   Query ID = root_20220807223635_9a12c716-f280-4a76-a76c-1f5440ccc2e7
   Total jobs = 1
   Launching Job 1 out of 1
   Number of reduce tasks is set to 0 since there's no reduce operator
   Starting Job = job_1659792265699_0058, Tracking URL = 
http://master:8088/proxy/application_1659792265699_0058/
   Kill Command = /root/Hadooptools/hadoop-2.7.7/bin/hadoop job  -kill 
job_1659792265699_0058
   Hadoop job information for Stage-3: number of mappers: 1; number of 
reducers: 0
   2022-08-07 22:36:53,130 Stage-3 map = 0%,  reduce = 0%
   2022-08-07 22:37:05,762 Stage-3 map = 100%,  reduce = 0%, Cumulative CPU 4.6 
sec
   MapReduce Total cumulative CPU time: 4 seconds 600 msec
   Ended Job = job_1659792265699_0058 with errors
   Error during job, obtaining debugging information...
   Examining task ID: task_1659792265699_0058_m_000000 (and more) from job 
job_1659792265699_0058
   FAILED: Execution Error, return code 2 from 
org.apache.hadoop.hive.ql.exec.mr.MapRedTask
   MapReduce Jobs Launched:
   Stage-Stage-3: Map: 1   Cumulative CPU: 4.6 sec   HDFS Read: 115812 HDFS 
Write: 3854 FAIL
   Total MapReduce CPU Time Spent: 4 seconds 600 msec
   
   An error was reported inserting data. However, it can be successfully 
executed when “set hive.exec.mode.local.auto=true;”. How can I fix it 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to