DATABASE FUNDAMENTALS
BASICS OF BIG DATA
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Data Nodes
|
|
Name Node
|
|
Data block
|
|
Replication
|
Detailed explanation-1: -NameNode and DataNodes An HDFS cluster consists of a single NameNode, a master server that manages the file system namespace and regulates access to files by clients. In addition, there are a number of DataNodes, usually one per node in the cluster, which manage storage attached to the nodes that they run on.
Detailed explanation-2: -1 Answer. The correct answer is option A (Manage file system namespace). NameNode acts as a master in Hadoop cluster and assign the tasks to DataNode. It stores only metadata like Filename, Path, number of Datablocks, etc.
Detailed explanation-3: -A NameNode keeps track of all the files or datasets in HDFS. It knows the list of blocks that are made up of files in HDFS, not only the list of blocks but also the location of them. Why is a NameNode so important? Imagine that a NameNode is down in your Hadoop cluster.
Detailed explanation-4: -HDFS works in a master-slave/master-worker fashion. All the metadata related to HDFS including the information about data nodes, files stored on HDFS, and Replication, etc. are stored and maintained on the NameNode. A NameNode serves as the master and there is only one NameNode per cluster.