PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

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?

How will the cluster handle the replication of file in this situation?

You use the hadoop fs –put command to add a file “sales.txt” to HDFS. This file is small
enough that it fits into a single block, which is replicated to three nodes in your cluster (with
a replication factor of 3). One of the nodes holding this file (a single block) fails. How will the
cluster handle the replication of file in this situation?


Page 41 of 71« First...102030...3940414243...506070...Last »