PrepAway - Latest Free Exam Questions & Answers

What do you have to do on the cluster to allow the worker node to join, and start sorting HDFS blocks?

You have installed a cluster HDFS and MapReduce version 2 (MRv2) on YARN. You have
no dfs.hosts entry(ies) in your hdfs-site.xml configuration file. You configure a new worker
node by setting fs.default.name in its configuration files to point to the NameNode on your
cluster, and you start the DataNode daemon on that worker node. What do you have to do
on the cluster to allow the worker node to join, and start sorting HDFS blocks?

PrepAway - Latest Free Exam Questions & Answers

A.
Without creating a dfs.hosts file or making any entries, run the commands
hadoop.dfsadminrefreshModes on the NameNode

B.
Restart the NameNode

C.
Creating a dfs.hosts file on the NameNode, add the worker Node’s name to it, then issue
the command hadoop dfsadmin –refresh Nodes = on the Namenode

D.
Nothing; the worker node will automatically join the cluster when NameNode daemon is
started

6 Comments on “What do you have to do on the cluster to allow the worker node to join, and start sorting HDFS blocks?

  1. thom says:

    D is the bets answer.

    A is not right cause you don’t need to run hdfs dfsadmin -refreshNodes on the nameNode. It works if you run it from any dataNode.

    In amy experience, D works.




    0



    0

Leave a Reply

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