[
https://issues.apache.org/jira/browse/HADOOP-11447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karthik Kambatla updated HADOOP-11447:
--------------------------------------
Attachment: hadoop-11447-2.patch
Thanks Steve. Updated patch to catch any errors and return super.toString.
In case of such an error, MutableStat would end up returning the reference of
SampleStat. I don't think that is common enough for more elaborate handling.
> Add a more meaningful toString method to SampleStat and MutableStat
> -------------------------------------------------------------------
>
> Key: HADOOP-11447
> URL: https://issues.apache.org/jira/browse/HADOOP-11447
> Project: Hadoop Common
> Issue Type: Improvement
> Components: metrics
> Affects Versions: 2.6.0
> Reporter: Karthik Kambatla
> Assignee: Karthik Kambatla
> Priority: Minor
> Attachments: hadoop-11447-1.patch, hadoop-11447-2.patch
>
>
> SampleStat and MutableStat don't override the toString method. A more
> meaningful implementation could help with debugging.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)