hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Burlison (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-6651) MCollectorOutputHandler.cc makes misaligned accesses, coredumps ensue
Date Wed, 16 Mar 2016 09:02:33 GMT

     [ https://issues.apache.org/jira/browse/MAPREDUCE-6651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alan Burlison updated MAPREDUCE-6651:
-------------------------------------
    Status: Patch Available  (was: Open)

> MCollectorOutputHandler.cc makes misaligned accesses, coredumps ensue
> ---------------------------------------------------------------------
>
>                 Key: MAPREDUCE-6651
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6651
>             Project: Hadoop Map/Reduce
>          Issue Type: Sub-task
>          Components: client
>    Affects Versions: 2.7.2
>         Environment: Any platform with alignment constraints
>            Reporter: Alan Burlison
>            Assignee: Alan Burlison
>         Attachments: MAPREDUCE-6651.001.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message