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 0467CD823 for ; Mon, 5 Nov 2012 20:46:13 +0000 (UTC) Received: (qmail 90774 invoked by uid 500); 5 Nov 2012 20:46:12 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 90730 invoked by uid 500); 5 Nov 2012 20:46:12 -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 90721 invoked by uid 99); 5 Nov 2012 20:46:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2012 20:46:12 +0000 Date: Mon, 5 Nov 2012 20:46:12 +0000 (UTC) From: "John Vines (JIRA)" To: notifications@accumulo.apache.org Message-ID: <331881274.70326.1352148372903.JavaMail.jiratomcat@arcas> In-Reply-To: <1491103439.129303.1348681148637.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (ACCUMULO-776) TimestampFilter should serialize start and end as longs in the IteratorSetting 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-776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490911#comment-13490911 ] John Vines commented on ACCUMULO-776: ------------------------------------- Patch was smaller than I thought. I have no issues with a proper patch being rolled into 1.4.x, but we need to have backwards compatibility with the old system for both 1.4.x and 1.5.0. My other issue from the comment above about time zones still stands as well. > TimestampFilter should serialize start and end as longs in the IteratorSetting > ------------------------------------------------------------------------------ > > Key: ACCUMULO-776 > URL: https://issues.apache.org/jira/browse/ACCUMULO-776 > Project: Accumulo > Issue Type: Bug > Reporter: Marcio Silva > Assignee: Billie Rinaldi > Priority: Minor > Attachments: ACCUMULO-776.patch > > > Although the TimestampFilter supports using longs to set the start or end timestamp, it formats them as strings using SimpleDateFormat when storing or retrieving them in the IteratorSetting. > This results in exceptions when the timestamps being used aren't able to be formatted as _yyyyMMddHHmmssz_. For example, try {{setEnd(253402300800001,true)}} > Instead, {{setStart()}} and {{setEnd()}} could just as easily use {{String.valueOf(long i)}} to store the values, and {{init()}} could retrieve them using {{Long.valueOf(String s)}}. -- 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