[
https://issues.apache.org/jira/browse/HADOOP-3863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618553#action_12618553
]
Tsz Wo (Nicholas), SZE commented on HADOOP-3863:
------------------------------------------------
> Nicholas - we are are using
> http://java.sun.com/javase/6/docs/api/java/nio/charset/CharsetDecoder.html#decode(java.nio.ByteBuffer)
> which does the whole 'decoding' operation, ditto for encoding.
Thanks Arun, I missed this.
BTW, TestFileAppend2 also works consistently in my Windows and Linux machines.
> Use a thread-local rather than static ENCODER/DECODER variables in Text for
> synchronization
> -------------------------------------------------------------------------------------------
>
> Key: HADOOP-3863
> URL: https://issues.apache.org/jira/browse/HADOOP-3863
> Project: Hadoop Core
> Issue Type: Bug
> Components: mapred
> Affects Versions: 0.18.0
> Reporter: Arun C Murthy
> Assignee: Arun C Murthy
> Priority: Critical
> Fix For: 0.19.0
>
> Attachments: HADOOP-3863_0_20080730.patch,
> HADOOP-3863_1_20080730.patch
>
>
> Text.{ENCODER|DECODER} are static variables which need to be synchronized in
> Text.{read|write}String; given that lots of RPC code calls
> Text.{read|write}String the contention for this lock shows up very
> significantly on large clusters.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.