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/17 22:34:00 UTC

[jira] [Reopened] (ACCUMULO-4779) Instantiating iterator accesses config in a very slow way

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

Keith Turner reopened ACCUMULO-4779:
------------------------------------

I did some more profiling with my fix and found that it was still slow. I had assumed that AccumuloConfiguration.get(String) would be fast, however it is not.

> Instantiating iterator accesses config in a very slow way
> ---------------------------------------------------------
>
>                 Key: ACCUMULO-4779
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4779
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.7.3, 1.8.1
>            Reporter: Keith Turner
>            Assignee: Keith Turner
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.7.4, 1.9.0, 2.0.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> I noticed this will looking at profiling data.  When creating iterators all configuration is put in a TreeMap just to get two keys out.
> The following code 
> https://github.com/apache/accumulo/blob/rel/1.8.1/start/src/main/java/org/apache/accumulo/start/classloader/vfs/ContextManager.java#L118
> calls the following code
> https://github.com/apache/accumulo/blob/rel/1.8.1/core/src/main/java/org/apache/accumulo/core/conf/AccumuloConfiguration.java#L153



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