File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/balancer Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -355,7 +355,7 @@ static int getFailedTimesSinceLastSuccessfulBalance() {
355
355
this .sourceNodes = p .getSourceNodes ();
356
356
this .runDuringUpgrade = p .getRunDuringUpgrade ();
357
357
this .sortTopNodes = p .getSortTopNodes ();
358
- this .limitOverUtilizedNum = p .getlimitOverUtilizedNum ();
358
+ this .limitOverUtilizedNum = p .getLimitOverUtilizedNum ();
359
359
360
360
this .maxSizeToMove = getLongBytes (conf ,
361
361
DFSConfigKeys .DFS_BALANCER_MAX_SIZE_TO_MOVE_KEY ,
@@ -472,8 +472,8 @@ private long init(List<DatanodeStorageReport> reports) {
472
472
metrics .setNumOfUnderUtilizedNodes (underUtilized .size ());
473
473
474
474
Preconditions .checkState (dispatcher .getStorageGroupMap ().size () - excludedOverUtilizedNum
475
- == overUtilized .size () + underUtilized .size () + aboveAvgUtilized .size ()
476
- + belowAvgUtilized .size (),
475
+ == overUtilized .size () + underUtilized .size () + aboveAvgUtilized .size ()
476
+ + belowAvgUtilized .size (),
477
477
"Mismatched number of storage groups" );
478
478
479
479
// return number of bytes to be moved in order to make the cluster balanced
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ boolean getSortTopNodes() {
113
113
return this .sortTopNodes ;
114
114
}
115
115
116
- int getlimitOverUtilizedNum () {
116
+ int getLimitOverUtilizedNum () {
117
117
return this .limitOverUtilizedNum ;
118
118
}
119
119
You can’t perform that action at this time.
0 commit comments