[
https://issues.apache.org/jira/browse/HDFS-17474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17849869#comment-17849869
]
farmmamba commented on HDFS-17474:
----------------------------------
[~coconut_icecream] Hi, sir. Thanks a lot for your sharing and responding. I
prefer to your 3rd option.
I have done this with ReentrantReadWriteLock in my test branch but have not
benchmarked.
And I think the 1st option will even have worse performance than the original
code because it is totally serial execution. does it?
Hope to receive your benchmarking and thanks for your work again.
> [FGL] Make INodeMap thread safe
> -------------------------------
>
> Key: HDFS-17474
> URL: https://issues.apache.org/jira/browse/HDFS-17474
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: ZanderXu
> Assignee: Felix N
> Priority: Major
>
> Operations related to INodeMap should be handled by namenode safety, since
> operations maybe access or update INodeMap concurrently.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]