[
https://issues.apache.org/jira/browse/PIG-3041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Prashant Kommireddi updated PIG-3041:
-------------------------------------
Issue Type: Improvement (was: Bug)
> Improve ResourceStatistics
> --------------------------
>
> Key: PIG-3041
> URL: https://issues.apache.org/jira/browse/PIG-3041
> Project: Pig
> Issue Type: Improvement
> Affects Versions: 0.12
> Reporter: Prashant Kommireddi
> Assignee: Prashant Kommireddi
>
> This is a follow-up JIRA to PIG-2582. ResourceStatistics should be improved
> and a few things we should do for 0.13.
> 1. Consider removing method setmBytes(Long mBytes). We deprecated this method
> in 0.12, but the code does not seem intuitive as the setter is actually
> working on the variable "bytes".
> 2. All setter methods return ResourceStatistics object and this is
> unnecessary. For eg:
> {code}
> public ResourceStatistics setNumRecords(Long numRecords) {
> this.numRecords = numRecords;
> return this;
> }
> {code}
> Each one of these variables has an associated getter.
> I will take this up once we are in the 0.13 cycle.
--
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