hadoop 滚动编辑日志

    正常情况 HDFS 文件系统有更新操作时,就会滚动编辑日志。也可以用命令强制滚动编辑日志。

1)滚动编辑日志(前提必须启动集群)
    hadoop@master:~/hadoop_home/dfs/name/current$ hdfs dfsadmin -rollEdits

2)镜像文件什么时候产生
    Namenode 启动时加载镜像文件和编辑日志
http://master:50070/dfshealth.html#tab-startup-progress

猜你喜欢

转载自blog.csdn.net/qq_36885128/article/details/88072706