简体   繁体   English

Hive:执行错误,从org.apache.hadoop.hive.ql.exec.FunctionTask返回代码-101

[英]Hive:Execution Error, return code -101 from org.apache.hadoop.hive.ql.exec.FunctionTask

I wrote a test.sql file and ran it with hive. 我编写了一个test.sql文件,并与hive一起运行。 I got the error when hive was parsing to the code(show below): 蜂巢解析到代码时出现错误(如下所示):

[CODE]:
CREATE TEMPORARY FUNCTION foo AS "com.mytest.udaf.HelloWorldFoo";

[ERROR]:
This query failes with the error: "Execution Error, return code -101 from
org.apache.hadoop.hive.ql.exec.FunctionTask"

PS: Hadoop was running on Java 6. PS:Hadoop在Java 6上运行。

I found the reason here . 我在这里找到了原因。

The problem was that the UDAF class was compiled with Java 7 and Hadoop was running on Java 6. 问题在于,UDAF类是使用Java 7编译的,而Hadoop是在Java 6上运行的。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 HIVE:执行错误,从org.apache.hadoop.hive.ql.exec.FunctionTask返回代码[-101](未知错误) - HIVE: Execution Error, return code [-101] (unknow error) from org.apache.hadoop.hive.ql.exec.FunctionTask 执行错误,从 org.apache.hadoop.hive.ql.exec.FunctionTask 返回代码 1 - Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.FunctionTask 来自 org.apache.hadoop.hive.ql.exec.mapredtask 的配置单元执行错误返回代码 2 失败 - hive failed execution error return code 2 from org.apache.hadoop.hive.ql.exec.mapredtask Hive:失败:执行错误,从org.apache.hadoop.hive.ql.exec.mr.MapRedTask返回代码2 - Hive : FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask 错误ql.Driver(SessionState.java:printError(419))-失败:执行错误,从org.apache.hadoop.hive.ql.exec.mr.MapRedTask返回代码-101 - ERROR ql.Driver (SessionState.java:printError(419)) - FAILED: Execution Error, return code -101 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask 失败:执行错误,从 org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask​​ 返回代码 1 - FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask 执行错误,从 org.apache.hadoop.hive.ql.exec.mr.MapRedTask 返回代码 2 - Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask 创建配置单元表时出错:失败:执行错误,从org.apache.hadoop.hive.ql.exec.DDLTask返回代码1。 元异常 - Error creating hive table: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException Hive 错误:失败:执行错误,从 org.apache.hadoop.hive.ql.exec.mr.MapRedTask 返回代码 2 - Hive Error : FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask Hive Erro-失败:执行错误,从org.apache.hadoop.hive.ql.exec.DDLTask返回代码1 - Hive Erro- FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM