-
Notifications
You must be signed in to change notification settings - Fork 28.8k
[SPARK-2936] Migrate Netty network module from Java to Scala #1865
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
QA tests have started for PR 1865. This patch merges cleanly. |
QA results for PR 1865: |
QA tests have started for PR 1865. This patch merges cleanly. |
QA results for PR 1865: |
Jenkins, retest this please. |
QA tests have started for PR 1865. This patch merges cleanly. |
QA results for PR 1865: |
extends SimpleChannelInboundHandler[String] with Logging { | ||
|
||
override def channelRead0(ctx: ChannelHandlerContext, blockIdString: String): Unit = { | ||
val blockId: BlockId = BlockId.apply(blockIdString) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BlockId(blockIdString)
Just had a couple minor issues with the translation, LGTM functionality-wise. Did not do a thorough diff check, though. |
QA tests have started for PR 1865. This patch merges cleanly. |
QA results for PR 1865: |
Merging into master. |
The Netty network module was originally written when Scala 2.9.x had a bug that prevents a pure Scala implementation, and a subset of the files were done in Java. We have since upgraded to Scala 2.10, and can migrate all Java files now to Scala. netty/netty#781 mesos/spark#522 Author: Reynold Xin <[email protected]> Closes #1865 from rxin/netty and squashes the following commits: 332422f [Reynold Xin] Code review feedback ca9eeee [Reynold Xin] Minor update. 7f1434b [Reynold Xin] [SPARK-2936] Migrate Netty network module from Java to Scala (cherry picked from commit ba28a8f) Signed-off-by: Reynold Xin <[email protected]>
The Netty network module was originally written when Scala 2.9.x had a bug that prevents a pure Scala implementation, and a subset of the files were done in Java. We have since upgraded to Scala 2.10, and can migrate all Java files now to Scala. netty/netty#781 mesos/spark#522 Author: Reynold Xin <[email protected]> Closes apache#1865 from rxin/netty and squashes the following commits: 332422f [Reynold Xin] Code review feedback ca9eeee [Reynold Xin] Minor update. 7f1434b [Reynold Xin] [SPARK-2936] Migrate Netty network module from Java to Scala
The Netty network module was originally written when Scala 2.9.x had a bug that prevents a pure Scala implementation, and a subset of the files were done in Java. We have since upgraded to Scala 2.10, and can migrate all Java files now to Scala.
netty/netty#781
mesos/spark#522