Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Hadoop cluster building (3) configuring ubermo mode

Shulou Source: shulou.com Published: 2022-06-03 06:32:46 11月23日 Update

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

Tags: Brother file service test mode cluster configuration Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Shulou Technology Docker MariaDB vpn