Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.20.1
-
None
-
None
-
Reviewed
-
ygridqa
Description
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
Attachments
Attachments
Issue Links
- blocks
-
MAPREDUCE-2 ArrayOutOfIndex error in KeyFieldBasedPartitioner on empty key
- Resolved