[
https://issues.apache.org/jira/browse/HDFS-6690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14062876#comment-14062876
]
Charles Lamb commented on HDFS-6690:
------------------------------------
[~andrew.wang],
Nice. Very simple.
Should internedNames be declared as a Map, rather than a HashMap?
> Deduplicate xattr names in memory
> ---------------------------------
>
> Key: HDFS-6690
> URL: https://issues.apache.org/jira/browse/HDFS-6690
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: namenode
> Affects Versions: 2.5.0
> Reporter: Andrew Wang
> Assignee: Andrew Wang
> Attachments: hdfs-6690.001.patch
>
>
> When the same string is used repeatedly for an xattr name, we could
> potentially save some NN memory by deduplicating the strings.
--
This message was sent by Atlassian JIRA
(v6.2#6252)