Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2279

Improper byte -> int conversion in DistributedRaidFileSystem

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: contrib/raid
    • Labels:
      None

      Description

      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

        Attachments

        1. MAPREDUCE-2279.1.patch
          3 kB
          Ramkumar Vadali
        2. MAPREDUCE-2279.patch
          3 kB
          Ramkumar Vadali

          Activity

            People

            • Assignee:
              rvadali Ramkumar Vadali
              Reporter:
              rvadali Ramkumar Vadali
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: