You need to tell YARN how to break the memory into containers, for example, if you install the memory on a 2 GB container, you will get 16 containers.
<name>yarn.scheduler.minimum-allocation-mb</name> <value>2048</value>
Arnon Rotem-Gal-Oz
source share