[
https://issues.apache.org/jira/browse/HADOOP-11665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15013072#comment-15013072
]
Abhishek Soni commented on HADOOP-11665:
----------------------------------------
I have also checked that the endianness macro being used in the patch
('__BIG_ENDIAN__') is specifically defined by gcc on Mac. I have checked it for
SLES Big Endian platform and it is not defined there. Therefore It doesn't seem
to be reliable for platforms other than Mac.
I have modified the existing patch and used c code to check endianness instead
of __BIG_ENDIAN__ macro.
I will be adding the modified patch (HADOOP-11665.002.patch) here. Please
verify it.
> Provide and unify cross platform byteorder support in native code
> -----------------------------------------------------------------
>
> Key: HADOOP-11665
> URL: https://issues.apache.org/jira/browse/HADOOP-11665
> Project: Hadoop Common
> Issue Type: Bug
> Components: native, util
> Affects Versions: 2.4.1, 2.6.0
> Environment: PowerPC Big Endian & other Big Endian platforms
> Reporter: Binglin Chang
> Assignee: Binglin Chang
> Labels: BB2015-05-TBR
> Attachments: HADOOP-11665.001.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)