YARN-8377: Javadoc build failed in hadoop-yarn-server-nodemanager. Contributed by Takanobu Asanuma
(cherry picked from commit e44c0849d7
)
This commit is contained in:
parent
5c09dadd73
commit
3d06d75423
|
@ -85,8 +85,9 @@ public class SlidingWindowRetryPolicy {
|
|||
* Updates remaining retries and the restart time when
|
||||
* required in the retryContext.
|
||||
* <p>
|
||||
* When failuresValidityInterval is > 0, it also removes time entries from
|
||||
* <code>restartTimes</code> which are outside the validity interval.
|
||||
* When failuresValidityInterval is {@literal >} 0, it also removes time
|
||||
* entries from <code>restartTimes</code> which are outside the validity
|
||||
* interval.
|
||||
*/
|
||||
protected void updateRetryContext(RetryContext retryContext) {
|
||||
if (retryContext.containerRetryContext.getFailuresValidityInterval() > 0) {
|
||||
|
|
Loading…
Reference in New Issue