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.

Reply via email to