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] [Created] (ACCUMULO-3386) Update release notes to explain how to correct data written with the buggy DateLexicoder
Date Fri, 05 Dec 2014 22:02:12 GMT
Christopher Tubbs created ACCUMULO-3386:
-------------------------------------------

             Summary: Update release notes to explain how to correct data written with the
buggy DateLexicoder
                 Key: ACCUMULO-3386
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3386
             Project: Accumulo
          Issue Type: Sub-task
            Reporter: Christopher Tubbs
            Priority: Blocker
             Fix For: 1.6.2, 1.7.0


We should make sure users who may have used the buggy DateLexicoder are informed of a method
which they can use to correct their data or to continue using the old behavior.

To read data with the old, broken behavior (if needed):
{code}
Lexicoder lex = new ULongLexicoder();
for (Entry<Key, Value> e : scanner) {
  Date d = new Date(lex.decode(TextUtil.getBytes(e.getKey().getRow())));
  // ...
}
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message