You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2014/04/04 16:16:17 UTC

[jira] [Updated] (ACCUMULO-2623) AbstractMetricsImpl's toString is excessively verbose

     [ https://issues.apache.org/jira/browse/ACCUMULO-2623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christopher Tubbs updated ACCUMULO-2623:
----------------------------------------

    Issue Type: Improvement  (was: Bug)

> AbstractMetricsImpl's toString is excessively verbose
> -----------------------------------------------------
>
>                 Key: ACCUMULO-2623
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2623
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: tserver
>    Affects Versions: 1.5.0, 1.5.1
>            Reporter: John Vines
>
> AbstractMetricsImpl, which handles all the metrics logging in the tserver (maybe master too), does it's logging via it's toString method. This is built from a StringBuilder, starting with the commons-lang ToStringBuilder utility which spits out the class name, hash code, and and content start. This information, I feel, is useless (except class name), so we should trim down the information included.
> Otherwise, you get lines like this-
> {code}20140403115847CDT Metric: commitPrep: org.apache.accumulo.server.metrics.AbstractMetricsImpl$Metric@49c237ca[count=2164,average=0,minimum=0,maximum=138]
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)