hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hairong Kuang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-414) replace class UTF8 with class Text
Date Tue, 05 Sep 2006 20:54:23 GMT
    [ http://issues.apache.org/jira/browse/HADOOP-414?page=comments#action_12432673 ] 
            
Hairong Kuang commented on HADOOP-414:
--------------------------------------

Only versioning file formats and RPC protocols does not completely solve the problem, for
example, when a Writable class contains a field of String. Because the field is deserialied
by readField and readField does not have the version information, so we have no way to find
out if we should use UTF8.readString or Text.readString. I guess either we should support
Writable versioning or support a method readField(DataInput in, int version).

> replace class UTF8 with class Text
> ----------------------------------
>
>                 Key: HADOOP-414
>                 URL: http://issues.apache.org/jira/browse/HADOOP-414
>             Project: Hadoop
>          Issue Type: Improvement
>    Affects Versions: 0.5.0
>            Reporter: Hairong Kuang
>         Assigned To: Hairong Kuang
>             Fix For: 0.6.0
>
>         Attachments: utf2text.patch
>
>
> Since class UTF8 is deprecated, all references of UTF8 in hadoop should be replaced with
class Text if the change does not break the system. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message