You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Ramkumar Vadali (JIRA)" <ji...@apache.org> on 2011/01/21 03:45:43 UTC

[jira] Created: (MAPREDUCE-2279) Improper byte -> int conversion in DistributedRaidFileSystem

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


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.