UDF is working on the hadoop server, not in the client side, but in the
server side.
So, you have to find the log in the job tracker or node manager (if hadoop
2.x) in the server side.


2014-02-16 7:02 GMT+09:00 Anastasis Andronidis <[email protected]>:

> Hello, I am using Pig 0.11.0 with cdh4.5.0 I have a custom UDF and I am
> trying to log stuff from inside. My problem is that I get no logs.
>
> I tried with:
>
> 1) this.log
> 2) this.warn
> 3) this.pigLogger
> 4) I created a LogFactory from apache.commons
>
> None of these worked. What am I doing wrong?
>
> Cheers

Reply via email to