hadoop0.23.*的配置比之前的版本配置有好多的不同,不能再像以前一样来配置了,基本配置如下http://www.myexception.cn/open-source/1276103.html
当你如上面配置完以后也许会出好多错误(版本越高,错误越多,但是你能根据错误提示来解决)
例如 输入:hadoop namenode -format (在hadoop主文件下)
      错误:DEPRECATED: Use of this script to execute hdfs command is deprecated.
Instead use the hdfs command for it.
      解决办法:hdfs namenode -format
      可能原因:hadoop已经去掉hadoop进行国际化换为:hdfs
不过当你再次格式化hadoop时 就可以用 hadoop namenode -format了
      输入:./start-all.sh (要在sbin目录下)
      错误:This script is Deprecated. Instead use start-dfs.sh and start-mapred.sh
      解决办法:./start-dfs.sh ;./start-mapred.sh
      可能原因:用./start-dfs.sh ;./start-mapred.sh替换了./start-all.sh
01-29 20:32