报错信息
我的hadoop和hive版本都是3.0版本(建议hadoop3.x版本、hive2.x版本,我在使用中发现有些问题)
xml
[08S01][2] Error while processing statement: FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask
解决过程
yacas
1.查看报错信息,locahost:8088 (根据你自己的hadoop端口填写)

往后看报错信息
展示报错信息详情
因为我启动是普通用户启动,这里就需要管理员启动。
启动插入,查询
