当先锋百科网

首页 1 2 3 4 5 6 7

hive (default)> insert into hive_test(id,name,age,address) values(1,‘zhangsan’,‘20’,‘guangzhou’);
Query ID = root_20190506224953_1e23aa88-14dd-41ce-9d87-493cd49c34a4
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_1557153213300_0002, Tracking URL = http://node01:8088/proxy/application_1557153213300_0002/
Kill Command = /export/servers/hadoop-2.6.0-cdh5.14.0/bin/hadoop job -kill job_1557153213300_0002
Hadoop job information for Stage-0: number of mappers: 0; number of reducers: 0
2019-05-06 22:50:05,928 Stage-0 map = 0%, reduce = 0%
Ended Job = job_1557153213300_0002 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-0: HDFS Read: 0 HDFS Write: 0 FAIL
Total MapReduce CPU Time Spent: 0 msec

从hive插入数据报错,求解!