You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2010/02/03 00:21:21 UTC

[jira] Updated: (HADOOP-6522) TestUTF8 fails

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

Doug Cutting updated HADOOP-6522:
---------------------------------

    Attachment: HADOOP-6522.patch

The problem is that the null character (codepoint zero) was correctly encoded but incorrectly decoded.  I've attached a patch that fixes this and increases the size of the tests so that problems like this will likely be discovered sooner.

> TestUTF8 fails
> --------------
>
>                 Key: HADOOP-6522
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6522
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 0.20.1
>            Reporter: Todd Lipcon
>            Priority: Critical
>             Fix For: 0.21.0, 0.22.0
>
>         Attachments: HADOOP-6522.patch
>
>
> TestUTF8 is actually flaky. It generates 10 random strings to run the test on. If you change this number to 100000 it fails every time.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.