turboFei commented on code in PR #3181:
URL: https://github.com/apache/celeborn/pull/3181#discussion_r2017926010


##########
client-spark/spark-3/src/main/scala/org/apache/spark/shuffle/celeborn/CelebornShuffleReader.scala:
##########
@@ -302,10 +303,16 @@ class CelebornShuffleReader[K, C](
               case e => throw e
             }
           }
-          logInfo("inputStream is null, sleeping...")
+          if (sleepCnt == 0) {
+            logInfo("inputStream is null, sleeping...")
+          }
+          sleepCnt += 1
           Thread.sleep(50)
           inputStream = streams.get(partitionId)
         }
+        if (sleepCnt > 0) {
+          logInfo(s"inputStream is not null, sleep count: $sleepCnt")

Review Comment:
   ```
             logInfo(s"inputStream for partition: $partitionId is not null, 
sleep count: $sleepCnt")
   ```



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to