YARN-8377: Javadoc build failed in hadoop-yarn-server-nodemanager. Contributed by Takanobu Asanuma

(cherry picked from commit e44c0849d7)
This commit is contained in:
Eric E Payne 2018-05-30 16:50:19 +00:00
parent 5c09dadd73
commit 3d06d75423
1 changed files with 3 additions and 2 deletions

View File

@ -85,8 +85,9 @@ public class SlidingWindowRetryPolicy {
* Updates remaining retries and the restart time when * Updates remaining retries and the restart time when
* required in the retryContext. * required in the retryContext.
* <p> * <p>
* When failuresValidityInterval is > 0, it also removes time entries from * When failuresValidityInterval is {@literal >} 0, it also removes time
* <code>restartTimes</code> which are outside the validity interval. * entries from <code>restartTimes</code> which are outside the validity
* interval.
*/ */
protected void updateRetryContext(RetryContext retryContext) { protected void updateRetryContext(RetryContext retryContext) {
if (retryContext.containerRetryContext.getFailuresValidityInterval() > 0) { if (retryContext.containerRetryContext.getFailuresValidityInterval() > 0) {