Keith Turner created ACCUMULO-2837:
--------------------------------------

             Summary: Scanning empty table can be optimized
                 Key: ACCUMULO-2837
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2837
             Project: Accumulo
          Issue Type: Bug
    Affects Versions: 1.6.0
            Reporter: Keith Turner
             Fix For: 1.6.1


I wrote an application that repeatedly scanned random rows in an empty table at 
one point.  It did not know the table was empty.  I was jstacking the tserver 
and repeatedly saw stack traces in a few places in the code. 

 * the audit canScan method
 * DefaultConfiguration.get
 * Kept seeing Password token ungziping the password??????

After fixing all of these issues (except for system token) I ran a simple test 
I saw times go from ~1.7s to ~1.3s for a simple test I wrote to recreate this 
issue.

I am not sure how much of an impact the gziping the password has.  I was just 
sampling the stack traces manually.  I seems like I saw the password token gzip 
stack traces less frequently, but I did catch it multiple jstack calls.



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

Reply via email to