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

Klaas Bosteels commented on HADOOP-5528:
----------------------------------------

The meaning is different yes. Specifying _left = x_ means that the _x_ leftmost 
bytes will not be taken into account and, simlarily, specifying _right = y_ 
means that the _y_ rightmost bytes will not be taken into account. So the right 
offset is not relative to the first byte of the array, but to the last one.

> Binary partitioner
> ------------------
>
>                 Key: HADOOP-5528
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5528
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>            Reporter: Klaas Bosteels
>            Assignee: Klaas Bosteels
>         Attachments: HADOOP-5528.patch
>
>
> It would be useful to have a {{BinaryPartitioner}} that partitions 
> {{BinaryComparable}} keys by hashing a configurable part of the bytes array 
> corresponding to each key.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to