13
How to execute a MapReduce program (WordCount.java) in Eclipse:

How to execute a MapReduce program (WordCount.java) in …cis.csuohio.edu/~sschung/cis612/HowtoExecuteMapReduceinEclipse.pdf2018-92-05 INFO client.RMProxy: connecting to Resourceanager

  • Upload
    others

  • View
    21

  • Download
    0

Embed Size (px)

Citation preview

How to execute a MapReduce program (WordCount.java) in Eclipse:

As you can see, it cannot run at the first beginning. There are three problems: (1) Could not find or load

main class org.apache.hadoop.mapreduce.v2.app.MRAppMaster. Please check whether your

etc/Hadoop/mapred-site.xml contains the below configuration. This is how I fixed the problem.

(2) Container is running beyond memory limits. The following post is helpful.

http://stackoverflow.com/questions/21005643/container-is-running-beyond-memory-limits

This is how I fixed the problem.

(3) Output folder already exists. I need to delete it.

I run a second MapReduce program (MaxTempreture.java) in Eclipse: