hive jdbc方式执行触发mr的查询报错求解
zgt99 2016-04-08 02:33:37
不触发mr的sql可以正常执行,触发mr的就报错
报错执行sql = "select count(1) from test1";
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 hive.TestMr.main(TestMr.java:28)