本文主要是介绍oozie中运行pig action-node时的错误提示参数参考,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
oozie中运行pig action-node时返回的错误参数参考
我在使用oozie运行pig时,经常会遇到如下异常:Main class [org.apache.oozie.action.hadoop.PigMain], exit code [6],后来查找了一些文档,知道了这是使用UDF函数时出的问题,今天把常见的错误返回值贴出来供大家参考。
Pig返回值及其意义:
返回值 | 意义 | 注释 |
---|---|---|
0 | 成功 | |
1 | Retriable failure | |
2 | Failure | |
3 | Partial failure | Used with multiquery; |
4 | Illegal arguments passed to Pig | |
5 | IOException thrown | Would usually be thrown by a UDF |
6 | PigException thrown | Usually means a Python UDF raised an exception |
7 | ParseException thrown | can happen after parsing if variable substitution is being done |
8 | Throwable thrown | an unexpected exception |
这篇关于oozie中运行pig action-node时的错误提示参数参考的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!