PrepAway - Latest Free Exam Questions & Answers

What should you do?

Each node in your Hadoop cluster, running YARN, has 64 GB 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>23</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.
No action is needed: YARN’s dynamic resource allocation automatically optimizes the
node memory and cores

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

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

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

2 Comments on “What should you do?

  1. abc says:

    C

    #Containers=yarn.nodemanager.resource.memory-mb/size of container(default 1024) = 32768/1024=32

    for 16 containers set min container size i.e. yarn.scheduler.minimum-allocation-mb to 32768/16 = 2048




    0



    0

Leave a Reply

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