Here's the background:
I am a newbie to both Java and Eclipse. I am trying to write a Map-Reduce program. I am following Tom White's book: Hadoop - The definitive guide
The problem:
Have installed Hadoop from http://hadoop.apache.org/ as explained in Appendix A of the book. I was trying the code in Chapter 2 on weather dataset. This is where I got the compile error.
I created a project and put the three codes in Eclipse IDE:
a) MaxTemperature.java
b) MaxTemperatureMapper.java
c) MaxTemperatureReducer.java
I tried to understand the suggestions in:
How to import org.apache Java dependencies w/ or w/o Maven (Raul Rene's)
The import org.junit cannot be resolved
I understood that using Maven will resolve my problem. But I couldn't understand how to resolve my problem.
This is what I did: a) installed Maven b) Right Click on project in the package section -> Configure -> Convert to Maven Project
I noticed that this created pom.xml but couldn't figure out how to resolve my issue. Please help me out.
Thanks in advance.