Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
courses:mapreduce-tutorial:step-22 [2012/01/31 09:48] straka |
courses:mapreduce-tutorial:step-22 [2012/01/31 10:46] (current) majlis Instructions for remote execution were added. |
||
---|---|---|---|
Line 7: | Line 7: | ||
- Download the directory ''/ | - Download the directory ''/ | ||
- Create a new Eclipse project that references the '' | - Create a new Eclipse project that references the '' | ||
- | - The jar file must be copied to the UFAL cluster to be executed. If you have to input your password for every '' | + | - The jar file must be copied to the UFAL cluster to be executed. If you have to input your password for every '' |
===== Instructions ===== | ===== Instructions ===== | ||
+ | |||
+ | ==== Remote Execution ==== | ||
+ | * Download Eclipse project on shared file system | ||
+ | |||
+ | wget ' | ||
+ | tar -xzf eclipse-project.tar.gz | ||
+ | |||
+ | * Execute Eclipse (ufal-computer = gaia, osiris, mrblack, ...) | ||
+ | |||
+ | ssh -X -Y ufal-computer.ms.mff.cuni.cz '/ | ||
+ | |||
+ | * In Eclipse create new project (File > New > Java Project) | ||
+ | * Select //Create project from existing source// and browse to location, where files were extracted. | ||
+ | |||
+ | ==== Local Execution ==== | ||
* On your local computer execute the following commands: | * On your local computer execute the following commands: | ||
- | mkdir -p hadoop; cd hadoop | ||
wget ' | wget ' | ||
tar -xzf eclipse-project.tar.gz | tar -xzf eclipse-project.tar.gz | ||
Line 20: | Line 34: | ||
* In Eclipse create new project (File > New > Java Project) | * In Eclipse create new project (File > New > Java Project) | ||
* Select //Create project from existing source// and browse to location, where files were extracted. | * Select //Create project from existing source// and browse to location, where files were extracted. | ||
+ | |||
===== Connection sharing ===== | ===== Connection sharing ===== | ||
If you need to type password every time you login to UFAL network, you can use connection sharing to write it only once: | If you need to type password every time you login to UFAL network, you can use connection sharing to write it only once: | ||
- | * execute '' | + | * execute '' |
- | * while the previous '' | + | * while the previous '' |
---- | ---- |