Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/20131#discussion_r159313149
--- Diff:
common/network-common/src/main/java/org/apache/spark/network/protocol/MessageWithHeader.java
---
@@ -100,7 +100,7 @@ public long transferred() {
* transferTo invocations in order to transfer a single
MessageWithHeader to avoid busy waiting.
*
* The contract is that the caller will ensure position is properly set
to the total number
- * of bytes transferred so far (i.e. value returned by transfered()).
+ * of bytes transferred so far (i.e. value returned by transferred()).
--- End diff --
FYI the typo was actually in Netty's API, not here. (Netty 4.1 fixed it
though.)
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]