Pig Udf显示结果 [英] Pig Udf in displaying result

查看:164
本文介绍了Pig Udf显示结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是猪的新手,我在java中编写了一个udf,并且我已经包含了一个

I am new to pig and I have written an udf in java and I have included a

System.out.println

中的声明。我必须知道在猪中运行时该语句的打印位置。

statement in it. I have to know where this statement get printed while running in pig.

推荐答案

如果您在猪脚本中注册并使用此UDF然后输出存储在猪日志文件中,例如stdoutlogs。

If you register and use this UDF in your pig script and then the output is stored in a pig log file such as stdoutlogs.

这篇关于Pig Udf显示结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆