Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse not working with Hadoop MapReduce(Getting the MapReduce plugin and Hadoop to work with Eclipse)
icon5.gif  Eclipse not working with Hadoop MapReduce [message #699840] Fri, 22 July 2011 12:27
hikarimay10  is currently offline hikarimay10 Friend
Messages: 2
Registered: June 2010
Junior Member
Dear All:

I was reading the Hadoop Tutorial on the Yahoo Developer Network and I created a Project in Eclipse as instructed However, even after adding the directory for the hadoop install directory to my project library I am getting errors which will not allow the project to run. The errors are saying the libraries are missing so I had to reselect all 18 jar files to stop the errors. Shouldn't Eclipse read those libraries automatically after selecting the install directory? After it loads all 18 libraries into the project, they display themselves outside of the main JRE system library. I am sure this is incorrect!

Next I add the code for the WordCountMapper, WordCountReducer, and WordCount but the errors keep saying that the types cannot be resolved as shown below:
Severity and Description	Path	Resource	Location	Creation Time	Id
FileInputPath cannot be resolved	WordCount/src	WordCount.java	line 20	1311335056446	22329
FileOutputPath cannot be resolved	WordCount/src	WordCount.java	line 21	1311335056447	22330
IntWritable cannot be resolved to a type	WordCount/src	WordCountReducer.java	line 11	1311335056454	22334
IntWritable cannot be resolved to a type	WordCount/src	WordCountReducer.java	line 11	1311335056454	22336
IntWritable cannot be resolved to a type	WordCount/src	WordCountReducer.java	line 18	1311335056454	22340
IntWritable cannot be resolved to a type	WordCount/src	WordCountReducer.java	line 18	1311335056454	22341
IntWritable cannot be resolved to a type	WordCount/src	WordCountReducer.java	line 22	1311335056454	22342
Text cannot be resolved to a type	WordCount/src	WordCountReducer.java	line 11	1311335056454	22333
Text cannot be resolved to a type	WordCount/src	WordCountReducer.java	line 11	1311335056454	22335
Text cannot be resolved to a type	WordCount/src	WordCountReducer.java	line 13	1311335056454	22337
The method setCombinerClass(Class<? extends Reducer>) in the type JobConf is not applicable for the arguments (Class<WordCountReducer>)	WordCount/src	WordCount.java	line 28	1311335056447	22332
The method setReducerClass(Class<? extends Reducer>) in the type JobConf is not applicable for the arguments (Class<WordCountReducer>)	WordCount/src	WordCount.java	line 27	1311335056447	22331
The type WordCountMapper must implement the inherited abstract method Mapper.map(Object, Object, OutputCollector, Reporter)	WordCount/src	WordCountMapper.java	line 11	1311334858077	22307


I am using the Eclipse version 3.3.1, "Europa". I am not sure what else can be done.

I am not sure which forum this belongs to but I am still hoping I can get some help. I have also posted to the Yahoo forum but I thought it was best to add one here too. Thank you.
Previous Topic:Startup Problem
Next Topic:Error in the Hello World SWT
Goto Forum:
  


Current Time: Thu Apr 18 01:22:11 GMT 2024

Powered by FUDForum. Page generated in 0.02981 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top