Github user zsxwing commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21428#discussion_r194916037
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/continuous/shuffle/RPCContinuousShuffleReader.scala
 ---
    @@ -79,10 +77,10 @@ private[shuffle] class UnsafeRowReceiver(
           private val writerEpochMarkersReceived = 
Array.fill(numShuffleWriters)(false)
     
           private val executor = 
Executors.newFixedThreadPool(numShuffleWriters)
    -      private val completion = new 
ExecutorCompletionService[UnsafeRowReceiverMessage](executor)
    +      private val completion = new 
ExecutorCompletionService[RPCContinuousShuffleMessage](executor)
    --- End diff --
    
    Are you planning to implement round-robin here? Otherwise, using an array 
of queries + a thread pool can be just replaced with a blocking queue.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to