在我使用 java API操作hive报的错误
Exception in thread "main" java.sql.SQLException: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask
at org.apache.hive.jdbc.HiveStatement.execute(HiveStatement.java:296)
at org.apache.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:392)
at HiveJDBCTest.main(HiveJDBCTest.java:28)
hive1.10之前不支持hiveserver2 api 无法获取hsql执行日志。
我换了新版本之后就可以啦。