I am new to Hadoop/PIG.
I have a basic question.
Do we have a Logging facility in PIG UDF? I have written a UDF which I need to verify
I need to log certain statements to check the flow. Is there a Logging facility available? If yes where are the Pig logs present?
Assuming your UDF extends
EvalFunc, you can use the Logger returned fromEvalFunc.getLogger(). The log output should be visible in the associated Map / Reduce task that pig executes (if the job executes in more than a single stage then you’ll have to pick through them to find the associated log entries).