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

Ramkumar Vadali updated MAPREDUCE-2279:
---------------------------------------

    Attachment: MAPREDUCE-2279.1.patch

Minor optimization in read()

> Improper byte -> int conversion in DistributedRaidFileSystem
> ------------------------------------------------------------
>
>                 Key: MAPREDUCE-2279
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2279
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/raid
>            Reporter: Ramkumar Vadali
>            Assignee: Ramkumar Vadali
>         Attachments: MAPREDUCE-2279.1.patch, MAPREDUCE-2279.patch
>
>
> When return a byte value from DistributedRaidFileSystem.read(), we should do 
> 0xff & byteVal. Otherwise the returned int value will be incorrectly negative.
> This is a regression from MAPREDUCE-2248

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

Reply via email to