hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8929) Add toString for SampleQuantiles
Date Mon, 15 Oct 2012 20:17:04 GMT

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

Chris Nauroth commented on HADOOP-8929:
---------------------------------------

In addition to toString, the patch also makes Quantile a Comparable and changes the contract
of SampleQuantiles to return null instead of throwing IOException if no samples were added.
 Is that intentional, or was the goal to just do toString right now?
                
> Add toString for SampleQuantiles
> --------------------------------
>
>                 Key: HADOOP-8929
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8929
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: metrics
>    Affects Versions: 3.0.0, 2.0.2-alpha
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hadoop-8929.txt
>
>
> The new SampleQuantiles class is useful in the context of benchmarks, but currently there
is no way to print it out outside the context of a metrics sink. It would be nice to have
a convenient way to stringify it for logging, etc.

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

Mime
View raw message