-error handling in Python UDFs with Pig 0.11
nezih yigitbasi 2013-10-08, 12:30
For Java UDFs I can register a generic error handler with the
@MonitoredUDF(errorCallback = MyErrorHandler.class) annotation to handle
exceptions thrown in a UDF. Is anything similar available for Python UDFs?
In general, what's a good way to handle exceptions thrown by Python UDFs?
Should the UDF code handle the exceptions to guarantee that the processing
continues or are there any elegant solutions to this problem?