hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ZhuGuanyin (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-5779) KeyFieldBasedPartitioner should encode free and handle ArrayOutOfIndex exception!
Date Wed, 06 May 2009 11:21:30 GMT

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

ZhuGuanyin updated HADOOP-5779:
-------------------------------

    Release Note: Using BytesWritable or Text data types for KeyFieldBasedPartitioner, which
would support not only utf8, and avoid the ArrayOutOfIndex exception.
          Status: Patch Available  (was: Open)

Using BytesWritable or Text data types for KeyFieldBasedPartitioner, which would support not
only utf8, and avoid the ArrayOutOfIndex exception.

> KeyFieldBasedPartitioner should encode free and handle ArrayOutOfIndex exception!
> ---------------------------------------------------------------------------------
>
>                 Key: HADOOP-5779
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5779
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred
>            Reporter: ZhuGuanyin
>             Fix For: 0.20.1
>
>
> 1) Currently,  KeyFieldBasedPartitioner only support utf8 encoded recored,  we should
use text or byteswriteable data types.
> 2) when using KeyFieldBasedPartitioner, if the record doesn't contain the specified field,
the endChar would equal with array.length, which throw ArrayOutOfIndex exception, losting
that record!

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


Mime
View raw message