This is an old revision of the document!
MapReduce Tutorial : Setting Eclipse
This is not well tested.
If you do not like VIM, you can try using Eclipse as a Java editor. You should
- Download
/SGE/HADOOP/active/hadoop-core-1.0.1-SNAPSHOT.jar
- Download the directory
/net/projects/hadoop/java-extensions/classes
- Create a new Eclipse project that references the
hadoop-core-1.0.1-SNAPSHOT.jar
and includes all the files in/net/projects/hadoop/java-extensions/classes
. - The jar file must be copied to the UFAL cluster to be executed. If you have to input your password for every
ssh
login, you can use connection sharing and input password only once – ask for help if you need this.
Instructions
- On your local computer execute the following commands:
mkdir -p hadoop; cd hadoop wget 'http://ufallab.ms.mff.cuni.cz/~majlis/eclipse-project.tar.gz' tar -xzf eclipse-project.tar.gz
- Execute Eclipse ( Applications > Programming > Eclipse 3.5.1 )
- In Eclipse create new project (File > New > Java Project)
- Select Create project from existing source and browse to location, where files were extracted.
Step 21: Preparing the environment. | Overview | Step 23: Predefined formats and types. |