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

Jeremy Karn commented on PIG-3457:
----------------------------------

Does the PPNL need to be an interface?  This jira shows how annoying/fragile it 
is to have an interface which a number of non-Pig projects depend on and that 
will likely be modified/extended in the future.  

It seems like a base class that would extend the existing PPNL interface and 
then provide no-op implementations for all methods would be easier to work with 
and extend in the future.  

                
> Provide backward compatibility for PigStatsUtil and JobStats
> ------------------------------------------------------------
>
>                 Key: PIG-3457
>                 URL: https://issues.apache.org/jira/browse/PIG-3457
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>             Fix For: 0.12.0
>
>         Attachments: PIG-3457-1.patch, PIG-3457-2.patch, PIG-3457-3.patch, 
> PIG-3457-4.patch
>
>
> PIG-3419 restructured PigStatsUtil which break downstream projects such as 
> Oozie. Oozie uses PigStatsUtil.{HDFS_BYTES_WRITTEN, MAP_INPUT_RECORDS, 
> MAP_OUTPUT_RECORDS, REDUCE_INPUT_RECORDS, REDUCE_OUTPUT_RECORDS}. We need to 
> provide a backward compatible way.

--
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

Reply via email to