hadoop namenode报错

hadoop启动报错

2014-06-06 19:37:11,332 ERROR org.apache.hadoop.hdfs.server.namenode.FSNamesystem: FSNamesystem initialization failed.
java.io.IOException:
File system image contains an old layout version -18.
An upgrade to version -32 is required.

解决方法:start-dfs.sh -upgrade

运行此命令,去升级namenode的fimage

相关推荐