accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-2083) RegExFilter Erroneously Reconstructs RowId Containing Null Character
Date Thu, 30 Jan 2014 18:52:13 GMT


Josh Elser commented on ACCUMULO-2083:

[~lbschan] please feel free to reopen this issue if you have a test case or some code that
shows the issue you originally described.

> RegExFilter Erroneously Reconstructs RowId Containing Null Character
> --------------------------------------------------------------------
>                 Key: ACCUMULO-2083
>                 URL:
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>            Reporter: Laura Schanno
>            Assignee: John Vines
>            Priority: Minor
>         Attachments:
> I applied a core.iterators.user.RegExFilter iterator to a BatchScanner iterating over
Key,Value pairs where the row id of the Keys are formatted as "<source>\0\<sink>".
RegExFilter reconstructed the row id as "<source>", dropping the sink half. This appears
to be due to the usage of the String(byte bytes[], int offset, int length, Charset charset)
constructor to reset the values of the Matcher objects in the both of the matches() functions.
The String constructor only reconstructs a String up to the "\0" character.

This message was sent by Atlassian JIRA

View raw message