jerqi commented on code in PR #360:
URL: https://github.com/apache/incubator-uniffle/pull/360#discussion_r1033084540


##########
client-spark/spark2/src/main/java/org/apache/spark/shuffle/RssShuffleManager.java:
##########
@@ -188,7 +188,7 @@ public RssShuffleManager(SparkConf sparkConf, boolean 
isDriver) {
     // External shuffle service is not supported when using remote shuffle 
service
     sparkConf.set("spark.shuffle.service.enabled", "false");
     LOG.info("Disable external shuffle service in RssShuffleManager.");
-    if (!sparkConf.getBoolean(RssSparkConfig.RSS_TEST_FLAG.key(), false)) {
+    if (!sparkConf.getBoolean(RssSparkConfig.RSS_TEST_MODE.key(), false)) {

Review Comment:
   We shouldn't modify this place. It will cause that our spark2 integration 
tests fail.



##########
client-spark/spark2/src/main/java/org/apache/spark/shuffle/RssShuffleManager.java:
##########
@@ -283,7 +283,7 @@ public <K, V, C> ShuffleHandle registerShuffle(int 
shuffleId, int numMaps, Shuff
 
   private void startHeartbeat() {
     shuffleWriteClient.registerApplicationInfo(appId, heartbeatTimeout, user);
-    if (!sparkConf.getBoolean(RssSparkConfig.RSS_TEST_FLAG.key(), false) && 
!heartbeatStarted) {
+    if (!sparkConf.getBoolean(RssSparkConfig.RSS_TEST_MODE.key(), false) && 
!heartbeatStarted) {

Review Comment:
   ditto.



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