From e44c0849d7982c8f1ed43af25d2092090881d19f Mon Sep 17 00:00:00 2001 From: Eric E Payne Date: Wed, 30 May 2018 16:50:19 +0000 Subject: [PATCH] YARN-8377: Javadoc build failed in hadoop-yarn-server-nodemanager. Contributed by Takanobu Asanuma --- .../containermanager/container/SlidingWindowRetryPolicy.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/container/SlidingWindowRetryPolicy.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/container/SlidingWindowRetryPolicy.java index 36a8b918c5..9360669bb6 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/container/SlidingWindowRetryPolicy.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/container/SlidingWindowRetryPolicy.java @@ -85,8 +85,9 @@ private int calculateRemainingRetries(RetryContext retryContext) { * Updates remaining retries and the restart time when * required in the retryContext. *

- * When failuresValidityInterval is > 0, it also removes time entries from - * restartTimes which are outside the validity interval. + * When failuresValidityInterval is {@literal >} 0, it also removes time + * entries from restartTimes which are outside the validity + * interval. */ protected void updateRetryContext(RetryContext retryContext) { if (retryContext.containerRetryContext.getFailuresValidityInterval() > 0) {