Hadoop MapReduce (Yarn) using hosts with different power/specifications -


i have high power (cpu/ram) hosts in cluster , considering add storage low power hosts.

my concern reduce jobs performance. map/reducers new (less powerful) hosts run slower , more powerful ones have wait result.

is there way configure in yarn ? maybe set priority hosts or assign mapper/reducers according number of cores on each machines.

thanks, horatiu

in yarn can provide different hardware resources configuration each of cluster workers. yarn decide how many tasks (containers) may allocated @ each worker balance workload.

in other words can set different number of cores , memory in yarn-site.xml each worker separately.

these 2 configuraton options relevant you:

  • yarn.nodemanager.resource.cpu-vcores set number of cpu cores per current worker node
  • yarn.nodemanager.resource.memory-mb set amount of physical memory (in mb) can used @ current worker node

Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -