Having trouble with Package Explorer in Eclipse
8 Answer(s)
DeZyre Support
hi MEdha,
Let us know the mapreduce project which you have imported and what jars are you trying to add to the project.
Thanks
Apr 25 2015 11:21 PM
Let us know the mapreduce project which you have imported and what jars are you trying to add to the project.
Thanks
Shivjit
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.
Apr 25 2015 11:50 PM
Medha
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.
Apr 26 2015 12:03 AM
Shivjit
Medha,
Try these locations.
/usr/lib/hadoop-0.20.mapreduce/hadoop-core.jar
/usr/lib/hadoop/hadoop-common.jar
Apr 26 2015 05:07 AM
Try these locations.
/usr/lib/hadoop-0.20.mapreduce/hadoop-core.jar
/usr/lib/hadoop/hadoop-common.jar
medha.patkar.patkar
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.
Apr 26 2015 07:11 PM
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.
Ramana
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
May 03 2015 07:07 PM
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