You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2014/05/11 00:13:14 UTC
[jira] [Created] (HADOOP-10587) Use a thread-local cache in
TokenIdentifier#getBytes to avoid creating many DataOutputBuffer objects
Colin Patrick McCabe created HADOOP-10587:
---------------------------------------------
Summary: Use a thread-local cache in TokenIdentifier#getBytes to avoid creating many DataOutputBuffer objects
Key: HADOOP-10587
URL: https://issues.apache.org/jira/browse/HADOOP-10587
Project: Hadoop Common
Issue Type: Improvement
Affects Versions: 2.4.0
Reporter: Colin Patrick McCabe
Assignee: Colin Patrick McCabe
Priority: Minor
Attachments: HADOOP-10587.001.patch
We can use a thread-local cache in TokenIdentifier#getBytes to avoid creating many DataOutputBuffer objects. This will reduce our memory usage (for example, when loading edit logs), and help prevent OOMs.
--
This message was sent by Atlassian JIRA
(v6.2#6252)