CCA-500 · Question #22
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…
The correct answer is A. Without creating a dfs.hosts file or making any entries, run the commands hadoop.dfsadmin-. _cluster.3B_how_do_I_start_services_on_just_one_node.3F If you are using the dfs.include/mapred.include functionality, you will need to additionally add the node to the dfs.include/mapred.include file, then issue hadoop dfsadmin -refreshNodes and hadoop mradmin -refreshNodes so…
Question
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?
Options
- AWithout creating a dfs.hosts file or making any entries, run the commands hadoop.dfsadmin-
- BRestart the NameNode
- CCreating a dfs.hosts file on the NameNode, add the worker Node's name to it, then issue the
- DNothing; the worker node will automatically join the cluster when NameNode daemon is started
How the community answered
(42 responses)- A79% (33)
- B2% (1)
- C7% (3)
- D12% (5)
Explanation
_cluster.3B_how_do_I_start_services_on_just_one_node.3F If you are using the dfs.include/mapred.include functionality, you will need to additionally add the node to the dfs.include/mapred.include file, then issue hadoop dfsadmin -refreshNodes and hadoop mradmin -refreshNodes so that the NameNode and JobTracker know of the additional node that has been added.
Topics
Community Discussion
No community discussion yet for this question.