[
https://issues.apache.org/jira/browse/ACCUMULO-1859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Keith Turner updated ACCUMULO-1859:
-----------------------------------
Attachment: 0001-ACCUMULO-1859-experimental.patch
Attached a file showing the experimental changes I made after locating the slow
code.
> Conditional Mutation with 1000 conditions is slow.
> --------------------------------------------------
>
> Key: ACCUMULO-1859
> URL: https://issues.apache.org/jira/browse/ACCUMULO-1859
> Project: Accumulo
> Issue Type: Sub-task
> Components: client, tserver
> Reporter: Keith Turner
> Assignee: Keith Turner
> Priority: Critical
> Fix For: 1.6.0
>
> Attachments: 0001-ACCUMULO-1859-experimental.patch
>
>
> The random walk test for conditional mutations creates a conditional mutation
> with 1000 conditions. I noticed this was really slow.
> I did some further testing using MiniAccumulo and was seeing times around
> 1300ms to 1400ms for this operation (the conditions all checked for absence
> and all data for the tablet was in memory).
> I traced the problem down to parsing the iterator config. Iterating over the
> table config, filtering non iterator props, and parsing was taking a little
> more than a 1ms. I modifed TableConfiguration to cache the iterator props
> and saw my test times drop to 120ms to 130ms.
--
This message was sent by Atlassian JIRA
(v6.1#6144)