what is the meaning of namespace and metadata which were used in hdfs(namenode)

前端 未结 3 1243
耶瑟儿~
耶瑟儿~ 2021-01-02 14:31

As a beginner to hadoop I am confused with these words namespace and metadata. Is there any relation between these two ?

3条回答
  •  死守一世寂寞
    2021-01-02 15:02

    Namespace is nothing but a term we use to describe the tree structure of a filesystem.

    Basically when we say namespace we mean a certain location on the hdfs.

    ‘/’ or ‘root’ dir is a namespace. The folder /user is a namespace. In Hadoop we refer to a Namespace as a dir which is handled by the NameNode.

    ref:https://www.quora.com/What-is-%E2%80%98Namespace%E2%80%99-in-HDFS-and-what-would-be-the-contents-residing-in-a-%E2%80%98Namespace%E2%80%99

提交回复
热议问题