accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1604) ColumnAgeOffFilter doesn't validate options correctly
Date Thu, 05 Sep 2013 19:00:54 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13759324#comment-13759324
] 

Christopher Tubbs commented on ACCUMULO-1604:
---------------------------------------------

The bug is in the assignment:
{code:java}
  this.ttls = new TTLSet(options);
{code}

It is not possible to distinguish whether the "negate" option was intended as configuration
for the parent, or as a column name for the current iterator, because it assumes that options
are for itself rather than the parent... even after negate is validated by the parent. The
options for the columns should have been prefixed with a configuration name that distinguishes
it from other options.
                
> ColumnAgeOffFilter doesn't validate options correctly
> -----------------------------------------------------
>
>                 Key: ACCUMULO-1604
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1604
>             Project: Accumulo
>          Issue Type: Bug
>            Reporter: Christopher Tubbs
>              Labels: newbie
>             Fix For: 1.6.0
>
>
> The o.a.a.core.iterators.user.ColumnAgeOffFilter doesn't validate options correctly.
It incorrectly assumes all options are for itself, and ignores the fact that some options
may be for the parent class ("negate" option on Filter).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message