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

Vikas Vishwakarma commented on HBASE-17877:
-------------------------------------------

that is a good point .. i checked back on this .. 

In Bytes.java we are using this for the littleEndian check .. this is 
evaluating to true for me on my dev/prod box
    static final boolean littleEndian =
                ByteOrder.nativeOrder().equals(ByteOrder.LITTLE_ENDIAN);

Although from what i read online java is supposed to be bigendian .. will check 
on this also 

> Replace/improve HBase's byte[] comparator
> -----------------------------------------
>
>                 Key: HBASE-17877
>                 URL: https://issues.apache.org/jira/browse/HBASE-17877
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>            Assignee: Vikas Vishwakarma
>         Attachments: 17877-1.2.patch, 17877-v2-1.3.patch, 
> ByteComparatorJiraHBASE-17877.pdf
>
>
> [~vik.karma] did some extensive tests and found that Hadoop's version is 
> faster - dramatically faster in some cases.
> Patch forthcoming.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to