accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Updated] (ACCUMULO-4789) Scans spend significant time constructing debug string.
Date Tue, 13 Feb 2018 16:06:00 GMT


ASF GitHub Bot updated ACCUMULO-4789:
    Labels: pull-request-available  (was: )

> Scans spend significant time constructing debug string.
> -------------------------------------------------------
>                 Key: ACCUMULO-4789
>                 URL:
>             Project: Accumulo
>          Issue Type: Improvement
>            Reporter: Keith Turner
>            Priority: Major
>              Labels: pull-request-available
> While profiling a Fluo test running lots of little scans, I noticed a string builder
operation showing up prominently in the profiling results.  Below is a link to the problematic
code.  Calling range toString was the most expensive part followed by KeyExtent toString.
> []
> I am not sure if we can change this in 1.7 and 1.8/1.9 because people may rely on this
for debugging.  In 2.0 we may want to consider removing this (or moving it inside the logging
code block).
> Also, while looking at this I noticed that some of the log statements called String.format. 
Those should be placed in a if(llog.traceEnabled()) block.

This message was sent by Atlassian JIRA

View raw message