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

Improper byte -> int conversion in DistributedRaidFileSystem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • contrib/raid
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: