Details
-
Improvement
-
Status: Resolved
-
Trivial
-
Resolution: Invalid
-
3.0.0-alpha1
-
None
-
None
Description
Instead of use containsKey() + get() to get the value from the HashMap, we can do get() once and check if the result is null
Attachments
Attachments
Issue Links
- is related to
-
HDFS-2421 Improve the concurrency of SerialNumberMap in NameNode
- Closed