[jira] [Commented] (HADOOP-10843) Unsafe.getLong is not supported correcly on Power PC, thus causing FastByteComparison's UnsafeComparer not working properly

2014-07-17 Thread Colin Patrick McCabe (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065227#comment-14065227
 ] 

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

What do you mean by not supported correctly?  Are you talking about alignment 
restrictions (i.e. address must be a multiple of 8).  Or something else?  If it 
is something else, I would expect there to be a Sun/Oracle problem report open 
for this?

 Unsafe.getLong is not supported correcly on Power PC, thus causing 
 FastByteComparison's UnsafeComparer not working properly
 ---

 Key: HADOOP-10843
 URL: https://issues.apache.org/jira/browse/HADOOP-10843
 Project: Hadoop Common
  Issue Type: Bug
  Components: io
Affects Versions: 2.2.0, 2.3.0, 2.4.0, 2.4.1
Reporter: Jinghui Wang
Assignee: Jinghui Wang
 Attachments: HADOOP-10843.patch


 Unsafe.getLong is not supported correcly on Power PC. FastByteComparison's 
 UnsafeComparer relies on unsafe method Unsafe.getLong, which is not correctly 
 supported for Power PC.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HADOOP-10843) Unsafe.getLong is not supported correcly on Power PC, thus causing FastByteComparison's UnsafeComparer not working properly

2014-07-15 Thread Jinghui Wang (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-10843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14062862#comment-14062862
 ] 

Jinghui Wang commented on HADOOP-10843:
---

Attached patch checks if it's running on PPC then use the lexicographical 
comparer.

 Unsafe.getLong is not supported correcly on Power PC, thus causing 
 FastByteComparison's UnsafeComparer not working properly
 ---

 Key: HADOOP-10843
 URL: https://issues.apache.org/jira/browse/HADOOP-10843
 Project: Hadoop Common
  Issue Type: Bug
  Components: io
Affects Versions: 2.2.0, 2.3.0, 2.4.0, 2.4.1
Reporter: Jinghui Wang
 Attachments: HADOOP-10843.patch


 Unsafe.getLong is not supported correcly on Power PC. FastByteComparison's 
 UnsafeComparer relies on unsafe method Unsafe.getLong, which is not correctly 
 supported for Power PC.



--
This message was sent by Atlassian JIRA
(v6.2#6252)