Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-6390 Improve Solaris support in Hadoop Map/Reduce
  3. MAPREDUCE-6651

MCollectorOutputHandler.cc makes misaligned accesses, coredumps ensue

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 2.7.2
    • None
    • client
    • None
    • Any platform with alignment constraints

    Description

      MCollectorOutputHandler.cc casts a misaligned byte pointer to a KVBufferWithParititionId, which causes coredumps on any platform with alignment constraints, such as SPARC. The misaligned structure needs to be copied into a local, aligned structure and the data referenced from there.

      Attachments

        1. MAPREDUCE-6651.001.patch
          2 kB
          Alan Burlison

        Activity

          People

            alanburlison Alan Burlison
            alanburlison Alan Burlison
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: