nerdexam
Cloudera

CCA-410 · Question #2

You set up the Hadoop cluster using NameNode Federation. One NameNode manages the/users namespace and one NameNode manages the/data namespace. What happens when client tries to write a file…

The correct answer is C. The file successfully writes to /report/myreport.txt. The metadata for the file is managed by the first. The current HDFS architecture allows only a single namespace for the entire cluster. A single Namenode manages this namespace. HDFS Federation addresses limitation of current architecture by adding support multiple Namenodes/namespaces to HDFS file system. HDFS Federation…

Requirements Analysis and Design Definition

Question

You set up the Hadoop cluster using NameNode Federation. One NameNode manages the/users namespace and one NameNode manages the/data namespace. What happens when client tries to write a file to/reports/myreport.txt?

Options

  • AThe file successfully writes to /users/reports/myreports/myreport.txt.
  • BThe client throws an exception.
  • CThe file successfully writes to /report/myreport.txt. The metadata for the file is managed by the first
  • DThe file writes fails silently; no file is written, no error is reported.

How the community answered

(53 responses)
  • A
    8% (4)
  • B
    15% (8)
  • C
    74% (39)
  • D
    4% (2)

Explanation

  • The current HDFS architecture allows only a single namespace for the entire cluster. A single Namenode manages this namespace. HDFS Federation addresses limitation of current architecture by adding support multiple Namenodes/namespaces to HDFS file system. * HDFS Federation enables multiple NameNodes in a cluster for horizontal scalability of NameNode. All these NameNodes work independently and don't require any co-ordination. A DataNode can register with multiple NameNodes in the cluster and can store the data blocks for multiple NameNodes.

Topics

#NameNode Federation#HDFS Namespace#File Write Behavior#Hadoop Architecture

Community Discussion

No community discussion yet for this question.

Full CCA-410 Practice