PrepAway - Latest Free Exam Questions & Answers

What should you do?

Each node in your Hadoop cluster, running YARN, has 64GB memory and 24 cores. Your
yarn.site.xml has the following configuration: <property>
<name>yarn.nodemanager.resource.memory-mb</name> <value>32768</value>
</property> <property> <name>yarn.nodemanager.resource.cpu-vcores</name>
<value>12</value> </property> You want YARN to launch no more than 16 containers per
node. What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Modify yarn-sites.xml with the following property:
<name>yarn.scheduler.minimum-allocation-mb</name> <value>4096</value>

B.
Modify yarn-site.xml with the following property:
<name>yarn.nodemanager.resource.cpu-vccores</name>

C.
Modify yarn-site.xml with the following property:
<name>yarn.scheduler.minimum-allocation-mb</name> <value>2048</value>

D.
No action is needed: YARN’s dynamic resource allocation automatically optimizes the
node memory and cores

8 Comments on “What should you do?

    1. Anirban Mukherjee says:

      In the configuration it is said that the total Resource Manager memory is 32 GBs. Since we wish to have only 16 containers, then we have to have 2 GBs only per container. Don’t go by the answers, most of them are incorrect.




      0



      0

Leave a Reply

Your email address will not be published. Required fields are marked *