Having trouble with Package Explorer in Eclipse


8 Answer(s)


hi MEdha,

Let us know the mapreduce project which you have imported and what jars are you trying to add to the project.

Thanks

MApReduceCodeExamples

Open the code in each project. Right click on the words with red underline and it will give you an option 'fix setup files' or something similar. Click that and click ok. That fix a few projects for me.

Thanks Shivjit. I just want to verify one more thing. I am not sure if I added the correct JAR and external JAR files. Can you please let me know the steps to add those and also which ones to select? Thanks a lot for all your help.

Medha,

Try these locations.
/usr/lib/hadoop-0.20.mapreduce/hadoop-core.jar
/usr/lib/hadoop/hadoop-common.jar


Hi Shivjit,
Thanks for your reply. When I click on Add Jar, I am not sure where to find the location of these files. I know I sound very silly, but just not able to find these files. Your help is greatly appreciated.

Medha,
Can you Call me on 214 284 7314 if you still need help.


Hi Medha,
Here are the Hadoop samples packaged well (maven pom files):
https://github.com/tomwhite/hadoop-book/

Down load the files and unzip to your home directory and the directory is as follows:
1) Download to ~/Downloads
2) tar xvf Downloads/hadoop-book-master.zip
3) cd hadoop-book-master
4) bring up your eclipse
5) Select File->import>maven projects
6) select the directory ~/hadoop-book-master
7) Select all and click finish

Example: select project 2 (ch02-mr-intro) and run the sample from the eclipse

Please ping me if you have issues.
My skype: ramana.pathipati