[
https://issues.apache.org/jira/browse/HADOOP-6224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750224#action_12750224
]
Tsz Wo (Nicholas), SZE commented on HADOOP-6224:
------------------------------------------------
> I'd suggest to change the exception argument's message from ...
The variable length indeed is the number of bytes, which could be different
from the string size, depending on the encoding. We should make it clear in
the exception message.
{code}
+ * @param maxLength the largest acceptable length of string
{code}
Similarly, maxLength is indeed the largest acceptable length of a *encoded*
string.
> Add some utility methods to Text and DataOutputBuffer to be used by
> MAPREDUCE-318
> ---------------------------------------------------------------------------------
>
> Key: HADOOP-6224
> URL: https://issues.apache.org/jira/browse/HADOOP-6224
> Project: Hadoop Common
> Issue Type: Improvement
> Components: io
> Reporter: Jothi Padmanabhan
> Assignee: Jothi Padmanabhan
> Fix For: 0.21.0
>
> Attachments: common.patch, hadoop-6224.patch
>
>
> MAPREDUCE-318 needs some minor extensions to the Text and the
> DataOutputBuffer classes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.