Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Hsu committed Jun 20, 2019
1 parent 48d218f commit b4eab77
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ public TaskMemoryHeuristic(HeuristicConfigurationData heuristicConfData) {
}

Configuration yarnConf = new YarnConfiguration();
int mininumMBAllocation = yarnConf.getInt(YarnConfiguration.RM_SCHEDULER_MINIMUM_ALLOCATION_MB,
int minimumMBAllocation = yarnConf.getInt(YarnConfiguration.RM_SCHEDULER_MINIMUM_ALLOCATION_MB,
YarnConfiguration.DEFAULT_RM_SCHEDULER_MINIMUM_ALLOCATION_MB);
graceMemoryHeadroomBytes = 2 * mininumMBAllocation * FileUtils.ONE_MB;
graceMemoryHeadroomBytes = 2 * minimumMBAllocation * FileUtils.ONE_MB;
}

@Override
Expand Down

0 comments on commit b4eab77

Please sign in to comment.