You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Keith Turner (JIRA)" <ji...@apache.org> on 2018/01/29 15:15:00 UTC

[jira] [Created] (ACCUMULO-4790) Creating FileRef objects is expensive

Keith Turner created ACCUMULO-4790:
--------------------------------------

             Summary: Creating FileRef objects is expensive
                 Key: ACCUMULO-4790
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4790
             Project: Accumulo
          Issue Type: Improvement
    Affects Versions: 1.8.1, 1.7.3
            Reporter: Keith Turner
             Fix For: 1.7.4, 1.9.0, 2.0.0


While profiling tablet servers doing lots of small scans, I noticed that creating FileRef objects was very expensive.  The constructor spends a lot of time parsing the URL.  This expense could be avoided with a simple String to FileRef cache.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)