You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2013/09/05 13:09:52 UTC

[jira] [Commented] (HADOOP-9934) the generic (non x86) libhadoop CRC code makes unaligned loads and stores

    [ https://issues.apache.org/jira/browse/HADOOP-9934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13758990#comment-13758990 ] 

Steve Loughran commented on HADOOP-9934:
----------------------------------------

I agree; most RISC-based platforms forbid this, and if they do implement it it is as non-atomic operations with a cost.
                
> the generic (non x86) libhadoop CRC code makes unaligned loads and stores
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-9934
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9934
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: native
>    Affects Versions: 2.3.0
>            Reporter: Colin Patrick McCabe
>            Priority: Minor
>
> The generic (non-x86) libhadoop CRC code makes unaligned loads and stores.  Some architectures don't support unaligned loads and stores, or they are slow.  This code should be made truly CPU-neutral by removing unaligned access.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira