LuciferYang commented on code in PR #49350:
URL: https://github.com/apache/spark/pull/49350#discussion_r1903276980


##########
core/src/test/scala/org/apache/spark/shuffle/HostLocalShuffleReadingSuite.scala:
##########
@@ -78,7 +78,13 @@ class HostLocalShuffleReadingSuite extends SparkFunSuite 
with Matchers with Loca
     test(s"host local shuffle reading with external shuffle service 
$essStatus") {
       conf.set(SHUFFLE_SERVICE_ENABLED, isESSEnabled)
         .set(STORAGE_LOCAL_DISK_BY_EXECUTORS_CACHE_SIZE, 5)
-      sc = new SparkContext("local-cluster[2,1,1024]", 
"test-host-local-shuffle-reading", conf)
+      val master = if (isESSEnabled) {
+        conf.set(EXECUTOR_CORES, 1)
+        "local-cluster[1,2,2048]"
+      } else {
+        "local-cluster[2,1,1024]"
+      }
+      sc = new SparkContext(master, "test-host-local-shuffle-reading", conf)

Review Comment:
   Got ~ thanks 



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