Hadoop下jps没有datanode
可能是集群ID不一致导致的,打开hadoop/tmp/dfs/name/current/version文件,复制里面的clusterID,再进入hadoop/tmp/dfs/data/current/version将原来的id覆盖进来保存以后应该就好了