0

As a beginner to Hadoop, I am confused between NameNode and Namespace. From my understanding both of them have the same functionality, which they both contains metadata.

Is there any difference between them?

Fallon19
  • 55
  • 1
  • 8

1 Answers1

4

NameNode is a Machine which will contain (Store) the namespace.

The NameNode’s primary responsibility is storing the HDFS namespace. Namespace is a hierarchy of files and directories. This means things like the directory tree, file permissions, and the mapping of files to block IDs.

In Hadoop 2.x took this a step further with the introduction of Federation, although its main purpose was to solve scaling issues in the namenode

BruceWayne
  • 3,286
  • 4
  • 25
  • 35