环境变量
1 | etc/hadoop/hadoop-env.xml |
配置文件
1 | etc/hadoop/maperd-site.xml |
yarn
1 | yarn-site.xml |
slaves
1 | etc/hadoop/slaves |
格式化
1 | bin/hadoop namenode -format |
测试 hadoop 计算 pi:
1 | ./bin/hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.3.jar pi 2 10 |