You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2014/12/05 23:02:12 UTC

[jira] [Created] (ACCUMULO-3386) Update release notes to explain how to correct data written with the buggy DateLexicoder

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)