You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Corey J. Nolet (JIRA)" <ji...@apache.org> on 2014/12/20 03:25:13 UTC

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

     [ https://issues.apache.org/jira/browse/ACCUMULO-3386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Corey J. Nolet reassigned ACCUMULO-3386:
----------------------------------------

    Assignee: Corey J. Nolet

> 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
>            Assignee: Corey J. Nolet
>            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)