说明
NameNode格式化后,在 hadoop1 的 /program/hadoop-3.0.3/data/tmp/dfs/name/current/
目录中生产下面文件:
- fsimage_x
- fsimage_x.md5
- seen_txid
- VERSION
fsimage_x
HDFS文件系统元数据,包含 目录、文件inode序列化信息
fsimage_x.md5
md5摘要,防止 fsimage_x 文件被篡改
seen_txid
保存最后一个 edits_xxx
中的 xxx
VERSION
保存 namespaceID
、clusterID
集群ID,nn 和 dn的集群id相同时,才能通信