[ http://issues.apache.org/jira/browse/HADOOP-393?page=all ]
Hairong Kuang updated HADOOP-393:
---------------------------------
Attachment: textfix.patch
This patch fixes the validation problem.
I also changed the junit test TestText so it reports failure when any exception
occurs.
Since issue 302 is closed, I included the patch to Bryan's problem to this
patch. So we do not need to reopen issue 302.
Thank Bryan for being the first one that uses Text. Let me know if you have any
other problem.
Hairong
> The validateUTF function of class Text throws MalformedInputException for
> valid UTF8 code containing ascii chars
> ----------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-393
> URL: http://issues.apache.org/jira/browse/HADOOP-393
> Project: Hadoop
> Issue Type: Bug
> Components: io
> Affects Versions: 0.4.0
> Reporter: Hairong Kuang
> Assigned To: Hairong Kuang
> Fix For: 0.5.0
>
> Attachments: textfix.patch
>
>
> The validateUTF function does not handle ascii chars right therefore causing
> MIE exception to be thrown.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira