hive -- return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask
异常:
Error while processing statement: FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask (state=08S01,code=2)
查看日志信息:
原因,没有开启Metastore,
解决方法:开启Metastore,重启yarn