[jira] [Updated] (ACCUMULO-776) TimestampFilter should serialize start and end as longs in the IteratorSetting
[ https://issues.apache.org/jira/browse/ACCUMULO-776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Tubbs updated ACCUMULO-776: --- Fix Version/s: (was: 1.4.3) 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 Components: client Affects Versions: 1.4.1 Reporter: Marcio Silva Assignee: Billie Rinaldi Priority: Minor Fix For: 1.5.0 Attachments: ACCUMULO-776_1.4.patch, ACCUMULO-776.patch, 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 _MMddHHmmssz_. For example, try {{setEnd(25340230081,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
[jira] [Updated] (ACCUMULO-776) TimestampFilter should serialize start and end as longs in the IteratorSetting
[ https://issues.apache.org/jira/browse/ACCUMULO-776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Billie Rinaldi updated ACCUMULO-776: Component/s: client Affects Version/s: 1.4.1 Fix Version/s: 1.4.2 1.5.0 Committed patch with additional testing for validateOptions (which was good because I found and fixed an issue with it). 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 Components: client Affects Versions: 1.4.1 Reporter: Marcio Silva Assignee: Billie Rinaldi Priority: Minor Fix For: 1.5.0, 1.4.2 Attachments: ACCUMULO-776.patch, 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 _MMddHHmmssz_. For example, try {{setEnd(25340230081,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