官网2.6.0的安装教程:http://hadoop.apache.org/docs/r2.6.0/hadoop-project-dist/hadoop-common/SingleCluster.html
安装虚拟机(NAT,桥接,仅主机三种网络模式,vmwaretools,主机共享文件)
系统安装(ifconfig,环境变量,hosts,hostname,ssh无密码登陆)
jdk安装(环境变量)
hadoop(hadoop-env.sh,mapred-env.sh, mapred-site.xml,core-site.xml,hdfs-site.xml,slaves)
./bin/hdfs namenode -format
./sbin/start-dfs.sh
./sbin/stop-dfs.sh
./sbin/stop-yarn.sh
./sbin/start-yarn.sh
./bin/hdfs dfsadmin -report
时间: 2024-12-24 06:41:37