Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D752E106A5 for ; Sun, 1 Sep 2013 15:32:56 +0000 (UTC) Received: (qmail 94861 invoked by uid 500); 1 Sep 2013 15:32:55 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 94806 invoked by uid 500); 1 Sep 2013 15:32:53 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 94790 invoked by uid 99); 1 Sep 2013 15:32:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Sep 2013 15:32:52 +0000 Date: Sun, 1 Sep 2013 15:32:51 +0000 (UTC) From: "Ted Yu (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-1604) ColumnAgeOffFilter doesn't validate options correctly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13755738#comment-13755738 ] Ted Yu commented on ACCUMULO-1604: ---------------------------------- >From trunk: {code} public boolean validateOptions(Map options) { if (super.validateOptions(options) == false) return false; try { this.ttls = new TTLSet(options); } catch (Exception e) { throw new IllegalArgumentException("bad TTL options", e); } return true; {code} Options for parent would be validated by super class. Can you highlight the bug ? Thanks > 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