Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mithrandir0x/78794a27f99e4a1c751e972019b163af to your computer and use it in GitHub Desktop.
Save Mithrandir0x/78794a27f99e4a1c751e972019b163af to your computer and use it in GitHub Desktop.
[root@hbase scripts]# python yarn-utils.py -c 2 -m 16 -d 3 -k True
Using cores=2 memory=16GB disks=3 hbase=True
Profile: cores=2 memory=12288MB reserved=4GB usableMem=12GB disks=3
Num Container=4
Container Ram=3072MB
Used Ram=12GB
Unused Ram=4GB
yarn.scheduler.minimum-allocation-mb=3072
yarn.scheduler.maximum-allocation-mb=12288
yarn.nodemanager.resource.memory-mb=12288
mapreduce.map.memory.mb=3072
mapreduce.map.java.opts=-Xmx2457m
mapreduce.reduce.memory.mb=3072
mapreduce.reduce.java.opts=-Xmx2457m
yarn.app.mapreduce.am.resource.mb=3072
yarn.app.mapreduce.am.command-opts=-Xmx2457m
mapreduce.task.io.sort.mb=1228
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment