In hadoop hdfs-site.xml, there is a very important paramenter called, it stores namenode name table(fsimage).

This definition determines where on the local filesystem an DFS name node should store its namespace metainfo. It could be one directory. If multiple entries defined, separate them with comma.

Directories that do not exist will be created if local filesystem permission allows.

The reconginzed format is:


For multiple entries, separate entries by comma, here is an example:


How does work with multiple entries?

When has multiple values, namenode will store the name table(fsimage) on each of the directory entry, hense, replicated in all of the directories, for redundancy.


Comments powered by CComment