Hadoop cluster building (3) configuring ubermo mode
As soon as you stop all the services,
[root@hadoop01 hadoop-2.7.1] # vim. / etc/hadoop/mapred-site.xml
Mapreduce.job.ubertask.enable
True
Mapreduce.job.ubertask.maxmaps
nine
Mapreduce.job.ubertask.maxreduces
one
Mapreduce.job.ubertask.maxbytes
102400000
Send it to all the boys and overwrite the corresponding files.
[root@hadoop01 hadoop-2.7.1] # scp-r. / etc/hadoop/mapred-site.xml hadoop01:/usr/local/hadoop-2.7.1/etc/hadoop/
[root@hadoop01 hadoop-2.7.1] # scp-r. / etc/hadoop/mapred-site.xml hadoop02:/usr/local/hadoop-2.7.1/etc/hadoop/
[root@hadoop01 hadoop-2.7.1] # scp-r. / etc/hadoop/mapred-site.xml hadoop03:/usr/local/hadoop-2.7.1/etc/hadoop/
III. Testing
[root@hadoop01 hadoop-2.7.1] # yarn jar. / share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.1.jar wordcount / mapred-root-historyserver-yang02.log / test/testout/02