You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Devaraj Das (JIRA)" <ji...@apache.org> on 2009/07/22 16:49:14 UTC

[jira] Resolved: (MAPREDUCE-735) ArrayIndexOutOfBoundsException is thrown by KeyFieldBasedPartitioner

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

Devaraj Das resolved MAPREDUCE-735.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.20.1
     Hadoop Flags: [Reviewed]

I just committed this. Thanks, Amar!

> ArrayIndexOutOfBoundsException is thrown by KeyFieldBasedPartitioner
> --------------------------------------------------------------------
>
>                 Key: MAPREDUCE-735
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-735
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.20.1
>            Reporter: Suman Sehgal
>            Assignee: Amar Kamat
>             Fix For: 0.20.1
>
>         Attachments: HADOOP-6130-v1.0.patch, MAPREDUCE-735-v1.2.patch, MAPREDUCE-735-v1.4-branch-0.20.patch, MAPREDUCE-735-v1.4.patch, MAPREDUCE-735-v1.5.patch, MAPREDUCE-735-v2.1.patch, MAPREDUCE-735-v3.1.patch, MAPREDUCE-735-v3.2-branch-0.20.patch, MAPREDUCE-735-v3.2.patch
>
>
> KeyFieldBasedPartitioner throws "KeyFieldBasedPartitioner" when some part of the specified key is missing. 
> Scenario :
> =======
> when  value of num.key.fields.for.partition is greater than the separators provided in the input.
> Command:
> ========
> hadoop jar streaming.jar -Dmapred.reduce.tasks=3 -Dnum.key.fields.for.partition=5 -input <input-dir>  -output <output-dir> -mapper org.apache.hadoop.mapred.lib.IdentityMapper -reducer org.apache.hadoop.mapred.lib.IdentityReducer -inputformat org.apache.hadoop.mapred.KeyValueTextInputFormat -partitioner org.apache.hadoop.mapred.lib.KeyFieldBasedPartitioner

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