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

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

问题描述

我是 Pig 的新手,我用 Java 编写了一个 udf,并且包含了一个

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

System.out.println

声明在里面.我必须知道在 Pig 中运行时这条语句在哪里打印.

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

推荐答案

如果您在 Pig 脚本中注册并使用此 UDF,然后输出将存储在一个 Pig 日志文件中,例如 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天全站免登陆