java.sql.SQLException: Error while processing statement: FAILED: Execution Error, return code 2 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 org.apache.hive.jdbc.HivePreparedStatement.executeQuery(HivePreparedStatement.java:
109)
at Test.GetInfo.GaobaoSaleInfoWithAnjuke(GetInfo.java:
525)
at Test.GetInfo.main(GetInfo.java:
1708)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
43)
at java.lang.reflect.Method.invoke(Method.java:
606)
at org.eclipse.jdt.
internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
java.sql.SQLException: Error
while processing statement: FAILED: Execution Error, return code 2 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 org.apache.hive.jdbc.HivePreparedStatement.executeQuery(HivePreparedStatement.java:
109)
at Test.GetInfo.GaobaoRentInfoWithAnjuke(GetInfo.java:
724)
at Test.GetInfo.main(GetInfo.java:
1709)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
43)
at java.lang.reflect.Method.invoke(Method.java:
606)
at org.eclipse.jdt.
internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
java.sql.SQLException: Error
while processing statement: FAILED: Execution Error, return code 2 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 org.apache.hive.jdbc.HivePreparedStatement.executeQuery(HivePreparedStatement.java:
109)
at Test.GetInfo.GaobaoSaleInfoWithGanji(GetInfo.java:
1312)
at Test.GetInfo.main(GetInfo.java:
1710)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
43)
at java.lang.reflect.Method.invoke(Method.java:
606)
at org.eclipse.jdt.
internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
如果把同样的sql放到hive shell里面执行
FAILED
java.io.IOException: Rename cannot overwrite non empty destination directory
/mnt/glusterfs/HadoopVol/hadoop/yarn/local/filecache/13