[
https://issues.apache.org/jira/browse/HDFS-941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
bc Wong updated HDFS-941:
-------------------------
Attachment: HDFS-941-6.patch
Thanks for the feedback, Stack. The v6 patch:
* Undid the whitespace changes. My IDE was misconfigured.
* Turned hardcoded values into config keys.
* Fixed javadoc on BlockReader.
* Renamed {{gotEOS}} to {{eos}}.
* Handled null remoteAddr by closing the socket.
Did not work on:
* DN javadoc. I don't think I touched it.
* SocketCache copyright. It's there, I think.
I don't follow this (not sure what you're referring to):
bq. Why would we retry a socket that is throwing an IOE?
> Datanode xceiver protocol should allow reuse of a connection
> ------------------------------------------------------------
>
> Key: HDFS-941
> URL: https://issues.apache.org/jira/browse/HDFS-941
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: data-node, hdfs client
> Affects Versions: 0.22.0
> Reporter: Todd Lipcon
> Assignee: bc Wong
> Attachments: HDFS-941-1.patch, HDFS-941-2.patch, HDFS-941-3.patch,
> HDFS-941-3.patch, HDFS-941-4.patch, HDFS-941-5.patch, HDFS-941-6.patch,
> hdfs941-1.png
>
>
> Right now each connection into the datanode xceiver only processes one
> operation.
> In the case that an operation leaves the stream in a well-defined state (eg a
> client reads to the end of a block successfully) the same connection could be
> reused for a second operation. This should improve random read performance
> significantly.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira