我刚刚在本地设置了hadoop3.1.0和hive2.3.1,并尝试插入到一个测试表中。它一直在失败,我不知道为什么。在网上搜索似乎没有帮助,因为我什么都试过了。
以前有人犯过这种错误吗?
完全错误:
hive> insert into gavtemp.staff values (1, 'bob', 111);
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 = gautamnewalkar_20180602170521_38a2fcf5-4cbd-4d84-aa52-f0385e9d798d
Total jobs = 3
Launching Job 1 out of 3
Number of reduce tasks is set to 0 since there's no reduce operator
Starting Job = job_1527972955789_0008, Tracking URL = http://gautams-air.fios-router.home:8088/proxy/application_1527972955789_0008/
Kill Command = /usr/local/Cellar/hadoop/3.1.0/libexec/bin/hadoop job -kill job_1527972955789_0008
Hadoop job information for Stage-1: number of mappers: 0; number of reducers: 0
2018-06-02 17:05:43,494 Stage-1 map = 0%, reduce = 0%
Ended Job = job_1527972955789_0008 with errors
Error during job, obtaining debugging information...
FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask
MapReduce Jobs Launched:
Stage-Stage-1: HDFS Read: 0 HDFS Write: 0 FAIL
Total MapReduce CPU Time Spent: 0 msec
hive>
暂无答案!
目前还没有任何答案,快来回答吧!