hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-414) replace class UTF8 with class Text
Date Fri, 01 Sep 2006 23:18:23 GMT
    [ http://issues.apache.org/jira/browse/HADOOP-414?page=comments#action_12432255 ] 
Owen O'Malley commented on HADOOP-414:

There is a worse problem in that none of the hadoop.io.* Writable classes are versioned.

In particular, we would like to move to the new method of writing Strings (Text.writeString),
but can't very easily because even if the file versions and the rpc protocol versions change,
that doesn't get passed down to readFields.

We really need to find a story that works for versioning Writables. I guess we could move
everything over to VersionedWritable and that would work at the cost of 1 byte/Writable.


> 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


View raw message