Wie stelle ich die VCORES in hadoop mapreduce / yarn ein?

Die folgenden sind meine Konfiguration:

**mapred-site.xml**
map-mb : 4096 opts:-Xmx3072m
reduce-mb : 8192 opts:-Xmx6144m

**yarn-site.xml**
resource memory-mb : 40GB
min allocation-mb : 1GB

The Vcores in Hadoop Cluster angezeigt 8 GB, aber ich weiß nicht, wie die Berechnung oder wo man es konfiguriert.

hope mir könnte jemand helfen.