ERROR org.apache.hadoop.hdfs.server.datanode.DataNode: All directories in dfs.data.dir are invalid
几天前配置好了hadoop1.2.1,一直好好的。自从更改了core-site.xml中的hadoop.tmp.dir为/home/caiyong/hadoop_tmp后,启动hadoop,jps查看只有5个进程,DataNode始终不见,重启了几次还是看不到DataNode进程。查看日志发现如下错误:2015-01-2211:48:55,063INFOorg.apache.hadoop.hdfs