hadoop only launch local job by default why?

后端 未结 3 2058
孤街浪徒
孤街浪徒 2021-01-05 12:44

I have written my own hadoop program and I can run using pseudo distribute mode in my own laptop, however, when I put the program in the cluster which can run example jar of

3条回答
  •  旧时难觅i
    2021-01-05 13:34

    If you're using Hadoop 2 and your job is running locally instead of on the cluster, ensure that you have setup mapred-site.xml to contain the mapreduce.framework.name property with a value of yarn. You also need to set up an aux-service in yarn-site.xml

    Checkout the Cloudera Hadoop 2 operator migration blog for more information.

提交回复
热议问题