Which among the following is the correct statement

datanode manage file system namespace
namenode stores metadata
namenode stores actual data
all of the above

The correct answer is: B. namenode stores metadata.

The namenode is the master server in a Hadoop Distributed File System (HDFS) cluster. It manages the namespace and stores the metadata of all files in the cluster. The datanodes are the slave servers in the cluster. They store the actual data of the files.

Here is a brief explanation of each option:

  • A. datanode manage file system namespace. This is incorrect. The namenode manages the namespace.
  • B. namenode stores metadata. This is correct. The namenode stores the metadata of all files in the cluster.
  • C. namenode stores actual data. This is incorrect. The datanodes store the actual data of the files.
  • D. all of the above. This is incorrect. Only option B is correct.
Exit mobile version