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/26 23:58] straka |
courses:mapreduce-tutorial:step-22 [2012/01/31 10:46] (current) majlis Instructions for remote execution were added. |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== MapReduce Tutorial : Setting Eclipse ====== | ====== MapReduce Tutorial : Setting Eclipse ====== | ||
| - | TODO. Můžu Tě poprosit, Martine? | + | //This is not well tested.// |
| + | If you do not like VIM, you can try using Eclipse as a Java editor. You should | ||
| + | - Download ''/ | ||
| + | - Download the directory ''/ | ||
| + | - 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 '' | ||
| + | |||
| + | ===== 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: | ||
| + | |||
| + | wget ' | ||
| + | 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. | ||
| + | |||
| + | |||
| + | ===== 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: | ||
| + | * execute '' | ||
| + | * while the previous '' | ||
| + | |||
| + | ---- | ||
| + | |||
| + | < | ||
| + | <table style=" | ||
| + | <tr> | ||
| + | <td style=" | ||
| + | <td style=" | ||
| + | <td style=" | ||
| + | </tr> | ||
| + | </ | ||
| + | </ | ||
