You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Owen O'Malley (JIRA)" <ji...@apache.org> on 2008/03/26 18:21:24 UTC

[jira] Updated: (HADOOP-3094) BytesWritable.toString prints bytes above 0x80 as FFFFFF80

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

Owen O'Malley updated HADOOP-3094:
----------------------------------

    Attachment: neg-bytes-writable.patch

This patch does the obvious anding with 0xff and adds a test case.

> BytesWritable.toString prints bytes above 0x80 as FFFFFF80
> ----------------------------------------------------------
>
>                 Key: HADOOP-3094
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3094
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: io
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>             Fix For: 0.17.0
>
>         Attachments: neg-bytes-writable.patch
>
>
> The printing of BytesWritable as a series of bytes does the wrong thing with negative bytes and expands them out to 32 bits before printing them.

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