jiangxb1987 commented on a change in pull request #27395: [SPARK-30667][CORE] Add allGather method to BarrierTaskContext URL: https://github.com/apache/spark/pull/27395#discussion_r378469074
########## File path: core/src/main/scala/org/apache/spark/api/python/PythonRunner.scala ########## @@ -238,13 +243,21 @@ private[spark] abstract class BasePythonRunner[IN, OUT]( sock.setSoTimeout(10000) authHelper.authClient(sock) val input = new DataInputStream(sock.getInputStream()) - input.readInt() match { - case BarrierTaskContextMessageProtocol.BARRIER_FUNCTION => + val requestMethod = input.readInt() + requestMethod match { + case requestMethod @ BarrierTaskContextMessageProtocol.BARRIER_FUNCTION => Review comment: nit: `@` -> `:` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org