You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2016/05/15 22:14:12 UTC

[jira] [Commented] (PIG-4894) Add API for StoreFunc to specify if they are write safe from two different vertices

    [ https://issues.apache.org/jira/browse/PIG-4894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15283984#comment-15283984 ] 

Daniel Dai commented on PIG-4894:
---------------------------------

Since we don't have any release with "pig.tez.opt.union.unsupported.storefuncs", it is possible to remove it completely in 0.16. If you have concern about backward compatibility, at least we shall comment it in pig.property this is solely for backward compatibility and new code should use StoreFunc.supportsParallelWriteToStoreLocation instead.

> Add API for StoreFunc to specify if they are write safe from two different vertices
> -----------------------------------------------------------------------------------
>
>                 Key: PIG-4894
>                 URL: https://issues.apache.org/jira/browse/PIG-4894
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Rohini Palaniswamy
>            Assignee: Rohini Palaniswamy
>             Fix For: 0.16.0
>
>         Attachments: PIG-4894-1.patch
>
>
> Currently this is done with config settings. Having a programmatic API will let people writing StoreFunc to specifically state whether they support it or not.  Added the method to StoreFunc instead of creating a new interface. If it is a new interface, then the StoreFunc implementation cannot be used with older versions of Pig.
> When we drop JDK 7 support (hopefully in another year), will move this as a default method to StoreFuncInterface as JDK 8 supports that.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)