LuciferYang commented on a change in pull request #33848:
URL: https://github.com/apache/spark/pull/33848#discussion_r696426276



##########
File path: 
common/network-shuffle/src/test/java/org/apache/spark/network/shuffle/ExternalShuffleBlockResolverSuite.java
##########
@@ -110,6 +118,48 @@ public void testSortShuffleBlocks() throws IOException {
     }
   }
 
+  @Test
+  public void testShuffleIndexCacheEvictionBehavior() throws IOException, 
ExecutionException {
+    Map<String, String> config = new HashMap<>();
+    String indexCacheSize = "8192m";
+    config.put("spark.shuffle.service.index.cache.size", indexCacheSize);

Review comment:
       configure `spark.shuffle.service.index.cache.size` with 8g and the 
default concurrencyLevel is 4, so the `maxSegmentWeight` Local Cache is 
`Int.MAX_VALUE`, these condition will trigger the bug
   
   




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



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

Reply via email to