Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Many builtin UDFs use log.warn instead of warn() to report warnings. This can produce an inordinate and unneeded amount of error logging. The warn() method is provided to aggregate that sort of thing.
Attachments
Attachments
Issue Links
- relates to
-
PIG-2207 Support custom counters for aggregating warnings from different udfs
- Resolved
Attaching the patch. No unit tests, since the previous tests are sufficient.
While I was in there, I changed the deprecated piggybank funcs that had this problem to be empty shells for their builtin variants.
Please review.