[
https://issues.apache.org/jira/browse/HDFS-4200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Suresh Srinivas updated HDFS-4200:
----------------------------------
Attachment: HDFS-4200.patch
Some more cleanup :) Todd, I addressed your comments.
As regards to repeated code, even though that part of the code is changed and
looks different, it is still there. The first check is to ensure after the wait
if the responder is running or not. The second one is needed at the caller to
break out of the loop.
> Reduce the size of synchronized sections in PacketResponder
> ------------------------------------------------------------
>
> Key: HDFS-4200
> URL: https://issues.apache.org/jira/browse/HDFS-4200
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: data-node
> Reporter: Suresh Srinivas
> Assignee: Suresh Srinivas
> Attachments: HDFS-4200.patch, HDFS-4200.patch
>
>
> The size of synchronized sections can be reduced in PacketResponder. Also the
> methods in the PacketResponder are long and need refactoring.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira