From 4f563ff1ba7ed680e7bfe45365469882df2fe629 Mon Sep 17 00:00:00 2001 From: litao Date: Tue, 14 Sep 2021 16:58:19 +0800 Subject: [PATCH] HDFS-16225. Fix typo for FederationTestUtils (#3428). Contributed by tomscut. --- .../hadoop/hdfs/server/federation/FederationTestUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/FederationTestUtils.java b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/FederationTestUtils.java index 2017a45de1..e758eee4fd 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/FederationTestUtils.java +++ b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/FederationTestUtils.java @@ -165,7 +165,7 @@ public static NamenodeStatusReport createNamenodeReport(String ns, String nn, * @param resolver Active namenode resolver. * @param nsId Nameservice identifier. * @param nnId Namenode identifier. - * @param finalState State to check for. + * @param state State to check for. * @throws Exception Failed to verify State Store registration of namenode * nsId:nnId for state. */ @@ -357,7 +357,7 @@ public Object answer(InvocationOnMock invocation) throws Throwable { * * @param stateManager number of routers to be registered. * @param routerCount number of routers to be registered. - * @param tiemout max wait time in ms + * @param timeout max wait time in ms */ public static void waitRouterRegistered(RouterStore stateManager, long routerCount, int timeout) throws Exception {