You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Klaas Bosteels (JIRA)" <ji...@apache.org> on 2009/03/19 11:53:50 UTC

[jira] Updated: (HADOOP-5528) Binary partitioner

     [ https://issues.apache.org/jira/browse/HADOOP-5528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Klaas Bosteels updated HADOOP-5528:
-----------------------------------

    Attachment: HADOOP-5528.patch

The attached patch adds both {{org.apache.hadoop.mapred.lib.BinaryPartitioner}} and {{org.apache.hadoop.mapreduce.lib.partition.BinaryPartitioner}}, which both take into account the following configuration properties:
* {{mapred.binary.partitioner.left.offset}}: left offset in the keys' byte arrays (0 by default)
* {{mapred.binary.partitioner.right.offset}}: right offset in the keys' byte array (0 by default)

> 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.