轩辕阁 发表于 2018-10-28 14:19:50

hadoop集群搭建(三)配置ubermo模式

  一 停掉所有服务
  # vim ./etc/hadoop/mapred-site.xml
  
  
  mapreduce.job.ubertask.enable
  true
  
  
  mapreduce.job.ubertask.maxmaps
  9
  
  
  mapreduce.job.ubertask.maxreduces
  1
  
  
  mapreduce.job.ubertask.maxbytes
  102400000
  
  二 发送到所有小弟,覆盖相应文件
  # scp -r ./etc/hadoop/mapred-site.xml hadoop01:/usr/local/hadoop-2.7.1/etc/hadoop/
  # scp -r ./etc/hadoop/mapred-site.xml hadoop02:/usr/local/hadoop-2.7.1/etc/hadoop/
  # scp -r ./etc/hadoop/mapred-site.xml hadoop03:/usr/local/hadoop-2.7.1/etc/hadoop/
  三、测试
  # yarn jar ./share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.1.jar wordcount /mapred-root-historyserver-yang02.log /test/testout/02

页: [1]
查看完整版本: hadoop集群搭建(三)配置ubermo模式