[
https://issues.apache.org/jira/browse/PIG-3457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13780231#comment-13780231
]
Daniel Dai commented on PIG-3457:
---------------------------------
Agree, abstract class would be better if we start over again.
However, the issue here is different. PIG-3419 change the meaning of JobStats
we used to communicate the Pig execution status in
PigProgressNotificationListener API and PigStats API. It is down-scoped and
methods such as getNumberMaps etc are removed. It will affect the downstream
projects no matter PigProgressNotificationListener is an interface or a class.
This Jira is to bring the old JobStats back (also PigStatsUtil, but that is
less involved compare to JobStats).
> 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