From 0cb6c28d192e8e0132c4719d658fb4f1a42d5a5f Mon Sep 17 00:00:00 2001 From: wangzhaohui <32935220+wzhallright@users.noreply.github.com> Date: Fri, 3 Dec 2021 19:21:04 +0800 Subject: [PATCH] HDFS-16364. Remove unnecessary brackets in NameNodeRpcServer#L453 (#3742) --- .../apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java index 474b5e29c3..c0cb578768 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java @@ -450,7 +450,7 @@ public NameNodeRpcServer(Configuration conf, NameNode nn) GlobalStateIdContext stateIdContext = null; if (enableStateContext) { - stateIdContext = new GlobalStateIdContext((namesystem)); + stateIdContext = new GlobalStateIdContext(namesystem); } clientRpcServer = new RPC.Builder(conf)