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() {
355355 this .sourceNodes = p .getSourceNodes ();
356356 this .runDuringUpgrade = p .getRunDuringUpgrade ();
357357 this .sortTopNodes = p .getSortTopNodes ();
358- this .limitOverUtilizedNum = p .getlimitOverUtilizedNum ();
358+ this .limitOverUtilizedNum = p .getLimitOverUtilizedNum ();
359359
360360 this .maxSizeToMove = getLongBytes (conf ,
361361 DFSConfigKeys .DFS_BALANCER_MAX_SIZE_TO_MOVE_KEY ,
@@ -472,8 +472,8 @@ private long init(List<DatanodeStorageReport> reports) {
472472 metrics .setNumOfUnderUtilizedNodes (underUtilized .size ());
473473
474474 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 (),
477477 "Mismatched number of storage groups" );
478478
479479 // 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() {
113113 return this .sortTopNodes ;
114114 }
115115
116- int getlimitOverUtilizedNum () {
116+ int getLimitOverUtilizedNum () {
117117 return this .limitOverUtilizedNum ;
118118 }
119119
You can’t perform that action at this time.
0 commit comments