abstractdog commented on code in PR #150:
URL: https://github.com/apache/tez/pull/150#discussion_r1118059600


##########
tez-runtime-library/src/main/java/org/apache/tez/runtime/library/common/shuffle/orderedgrouped/ShuffleScheduler.java:
##########
@@ -1015,51 +1019,63 @@ boolean isShuffleHealthy(InputAttemptIdentifier 
srcAttempt) {
     final float MIN_REQUIRED_PROGRESS_PERCENT = minReqProgressFraction;

Review Comment:
   if you touch this codepath, don't forget to remove these lines of 
redeclaring stuff:
   ```
       final float MIN_REQUIRED_PROGRESS_PERCENT = minReqProgressFraction;
       final float MAX_ALLOWED_STALL_TIME_PERCENT = maxStallTimeFraction;
   ```
   I don't get what's the purpose...I guess they are leftovers from a code that 
needed final variables (in-place Runnables or whatever)



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