[
https://issues.apache.org/jira/browse/PIG-2935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13465081#comment-13465081
]
Alan Gates commented on PIG-2935:
---------------------------------
Hmm, that's interesting, because there are other places where we catch
NoSuchMethodError and it seems to be the same situation. Checkout
SyncProgressNotificationAdaptor.initialPlanNotification() and
ScriptState.emitInitialPlanNotification(). Are these errors or is something
different happening here? But I can change the patch to catch the right error.
> Catch NoSuchMethodError when StoreFuncInterface's new cleanupOnSuccess method
> isn't implemented.
> ------------------------------------------------------------------------------------------------
>
> Key: PIG-2935
> URL: https://issues.apache.org/jira/browse/PIG-2935
> Project: Pig
> Issue Type: Bug
> Components: impl
> Affects Versions: 0.11
> Reporter: Alan Gates
> Assignee: Alan Gates
> Priority: Critical
> Fix For: 0.11
>
> Attachments: PIG-2935.patch
>
>
> We should catch a NoSuchMethodError here so that old implementations of
> StoreFuncInterface still work. This will still be incompatible for people
> who re-compile their store functions.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira