You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/balancer/NameNodeConnector.java
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -147,11 +147,11 @@ public static void checkOtherInstanceRunning(boolean toCheck) {
147
147
148
148
privatefinalBalancerProtocolsnamenode;
149
149
/**
150
-
* If set requestToStandby true, Balancer will getBlocks from
150
+
* If set getBlocksToStandby true, Balancer will getBlocks from
151
151
* Standby NameNode only and it can reduce the performance impact of Active
152
152
* NameNode, especially in a busy HA mode cluster.
153
153
*/
154
-
privatebooleanrequestToStandby;
154
+
privatebooleangetBlocksToStandby;
155
155
privateStringnsId;
156
156
privateConfigurationconfig;
157
157
privatefinalKeyManagerkeyManager;
@@ -191,9 +191,9 @@ public NameNodeConnector(String name, URI nameNodeUri, Path idPath,
0 commit comments