Unit 4 & 5 Ques Bank & 2 Marks Ans
Unit 4 & 5 Ques Bank & 2 Marks Ans
Unit 4 & 5 Ques Bank & 2 Marks Ans
PART - A
• fs.default.name, set to hdfs://localhost/, which is used to set a default filesystem for Hadoop.
Filesystems are specified by a URI, and here we have used an hdfs URI to configure Hadoop to use
HDFS by default. The HDFS daemons will use this property to determine the host and port for the
HDFS namenode.
• dfs.replication, to 1 so that HDFS doesn’t replicate filesystem blocks by the default factor of
three. When running with a single datanode, HDFS can’t replicate blocks to three datanodes, so it
would perpetually warn about blocks being under-replicated. This setting solves that problem.
UNIT 5
PART - A
PART B& C