to make it simpler / clearer, and since HDFS is another file system, we can give an example of the Windows file system:
Suppose you have a file: test.txt in this path C: \ User \ Test \ New Folder \ Test.txt.
therefore, in the case of windows, this path is a namespace .
Now, if you go to the properties of this file, you will find some information (date of creation, last modification, owner ...), this information is metadata, it is called so because it represents a higher level of abstraction (data file contents and metadata - this is the description of the file itself).
In the same way, we can use the same example for HDFS, so the namespace is the path to the data block, and the metadata is information about the block that he himself
aName source share