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

Colin Patrick McCabe commented on HADOOP-11505:
-----------------------------------------------

bq. So I think a more clean way to fix this is to define ntoh32 and noth64 
properly(use bit shift rather than assembly should be OK for modern compilers) 
based on BYTE_ORDER macro, and replace all bswap.

Thanks for that context, Binglin.  I'll update the patch.. 

> hadoop-mapreduce-client-nativetask fails to use x86 optimizations in some 
> cases
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-11505
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11505
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>         Attachments: HADOOP-11505.001.patch
>
>
> hadoop-mapreduce-client-nativetask fails to use x86 optimizations in some 
> cases.  Also, on some alternate, non-x86, non-ARM architectures the generated 
> code is incorrect.  Thanks to Steve Loughran and Edward Nevill for finding 
> this.



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

Reply via email to