Replace Vector types by ArrayList in FSDirectory
------------------------------------------------
Key: HADOOP-1268
URL: https://issues.apache.org/jira/browse/HADOOP-1268
Project: Hadoop
Issue Type: Improvement
Affects Versions: 0.12.0, 0.11.0, 0.10.0
Reporter: Konstantin Shvachko
Fix For: 0.13.0
FSDirectory contains local variables that are declared Vector but are used
within a
synchronized{ ... } block. Extra synchronization provided by Vector is
redundant in the case.
Using ArrayLists instead should boost the performance.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.