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

前端 未结 3 1246
耶瑟儿~
耶瑟儿~ 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 14:50

    According to 'Hadoop The definitive guide' - "The NameNode manages the filesystem namespace. It maintains the filesystem tree and the metadata for all the files and directories in the tree."

    Essentially, Namespace means a container. In this context it means the file name grouping or hierarchy structure.

    Metadata contains things like the owners of files, permission bits, block location, size etc.

提交回复
热议问题