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

Gregory Chanan commented on HBASE-6084:
---------------------------------------

Elliot,

I'm a bit confused.  When I look at 0.92.1's HServerLoad.toString I see:
{code}
int numberOfRegions = this.regionLoad.size();
    StringBuilder sb = new StringBuilder();
    sb = Strings.appendKeyValue(sb, "requestsPerSecond",
      Integer.valueOf(numberOfRequests/msgInterval));
    sb = Strings.appendKeyValue(sb, "numberOfOnlineRegions",
      Integer.valueOf(numberOfRegions));
    sb = Strings.appendKeyValue(sb, "usedHeapMB",
      Integer.valueOf(this.usedHeapMB));
    sb = Strings.appendKeyValue(sb, "maxHeapMB", Integer.valueOf(maxHeapMB));
    return sb.toString();
{code}

But your toString doesn't match.  It looks like you implemented 
HServerLoad.RegionLoad's toString in ServerLoad?
                
> Server Load does not display correctly on the ui
> ------------------------------------------------
>
>                 Key: HBASE-6084
>                 URL: https://issues.apache.org/jira/browse/HBASE-6084
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>         Attachments: HBASE-6084-0.patch, HBASE-6084-1.patch
>
>
> The ui uses the toString method and toString does not implement it any more.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to