datanode启动后自动消失怎么办
1、进入hadoop目录,例如:cd ~/user/local/hadoop/hadoop-1.2.1

3、打开~/hdfs/name/current下的VERSION文件,复制其中的ID

4、打开 ~/hdfs/data/current下的VERSION文件,粘贴ID

5、运行命令:./bin/start-dfs.sh

1、进入hadoop目录,例如:cd ~/user/local/hadoop/hadoop-1.2.1
3、打开~/hdfs/name/current下的VERSION文件,复制其中的ID
4、打开 ~/hdfs/data/current下的VERSION文件,粘贴ID
5、运行命令:./bin/start-dfs.sh