From 773b68bf87dd0d1a948bc739b3aad4316d9a79b8 Mon Sep 17 00:00:00 2001 From: singer-bin Date: Thu, 2 Nov 2023 10:49:49 +0800 Subject: [PATCH 1/2] YARN-11604 Fix code annotation errors such as class DefaultClientRequestInterceptor --- .../server/router/clientrm/DefaultClientRequestInterceptor.java | 2 +- .../server/router/clientrm/FederationClientInterceptor.java | 2 +- .../server/router/webapp/DefaultRequestInterceptorREST.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/clientrm/DefaultClientRequestInterceptor.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/clientrm/DefaultClientRequestInterceptor.java index e7cc024b64001..dbaf6c57b8848 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/clientrm/DefaultClientRequestInterceptor.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/clientrm/DefaultClientRequestInterceptor.java @@ -102,7 +102,7 @@ import org.slf4j.LoggerFactory; /** - * Extends the {@code AbstractRequestInterceptorClient} class and provides an + * Extends the {@code AbstractClientRequestInterceptor} class and provides an * implementation that simply forwards the client requests to the cluster * resource manager. * diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/clientrm/FederationClientInterceptor.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/clientrm/FederationClientInterceptor.java index 35b3e6eeb2bd5..405f0a2050b90 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/clientrm/FederationClientInterceptor.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/clientrm/FederationClientInterceptor.java @@ -186,7 +186,7 @@ import static org.apache.hadoop.yarn.server.router.RouterAuditLogger.AuditConstants.GET_NODESTOATTRIBUTES; /** - * Extends the {@code AbstractRequestInterceptorClient} class and provides an + * Extends the {@code AbstractClientRequestInterceptor} class and provides an * implementation for federation of YARN RM and scaling an application across * multiple YARN SubClusters. All the federation specific implementation is * encapsulated in this class. This is always the last interceptor in the chain. diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/webapp/DefaultRequestInterceptorREST.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/webapp/DefaultRequestInterceptorREST.java index 9d3e3be6f6e53..f698d5b32aaed 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/webapp/DefaultRequestInterceptorREST.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/webapp/DefaultRequestInterceptorREST.java @@ -71,7 +71,7 @@ import org.apache.hadoop.yarn.webapp.util.WebAppUtils; /** - * Extends the AbstractRequestInterceptorClient class and provides an + * Extends the AbstractClientRequestInterceptor class and provides an * implementation that simply forwards the client requests to the resource * manager. */ From ead83762fd08fb7431a8e22745985987957bd39b Mon Sep 17 00:00:00 2001 From: singer-bin Date: Tue, 7 Nov 2023 14:40:46 +0800 Subject: [PATCH 2/2] YARN-11604 Fix code annotation errors such as class DefaultRequestInterceptorREST.java --- .../server/router/webapp/DefaultRequestInterceptorREST.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/webapp/DefaultRequestInterceptorREST.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/webapp/DefaultRequestInterceptorREST.java index f698d5b32aaed..e0430f913050d 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/webapp/DefaultRequestInterceptorREST.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/webapp/DefaultRequestInterceptorREST.java @@ -71,7 +71,7 @@ import org.apache.hadoop.yarn.webapp.util.WebAppUtils; /** - * Extends the AbstractClientRequestInterceptor class and provides an + * Extends the AbstractRESTRequestInterceptor class and provides an * implementation that simply forwards the client requests to the resource * manager. */