文件系统的格式化 hdfs namenode -format 进入windows下的hosts,以记事本打开,删除原有的 输入以下文字 启动日志相关服务 mapred --daemon start historyserver