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-21 [2012/01/31 10:47] majlis |
courses:mapreduce-tutorial:step-21 [2012/01/31 11:18] (current) straka |
- Create a ''Makefile'' containing <file Makefile Makefile>include /net/projects/hadoop/java/Makefile</file> | - Create a ''Makefile'' containing <file Makefile Makefile>include /net/projects/hadoop/java/Makefile</file> |
| |
===== Compilation ===== | ===== Compiling ===== |
| |
When typing ''make'', every Java file is compiled (with the Hadoop library and some extra classes) to a jar file. It is of course possible to compile just selected sources using: | When typing ''make'', every Java file is compiled (with the Hadoop library and some extra classes) to a jar file. It is of course possible to compile just selected sources using: |
| |
===== Exercise ===== | ===== Exercise ===== |
Create a directory and a ''Makefile'' as described and download {{:courses:mapreduce-tutorial:step-21.txt|WordCount.java}}. Try compiling it using ''make''. | Create a directory and a ''Makefile'' as described and download {{:courses:mapreduce-tutorial:step-21.txt|CompileTest.java}}. Try compiling it using ''make''. |
| |
===== Using VIM ===== | ===== Using VIM ===== |