[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
courses:mapreduce-tutorial:step-24 [2012/01/27 23:48]
straka
courses:mapreduce-tutorial:step-24 [2012/01/28 17:55]
straka
Line 80: Line 80:
 </file> </file>
  
-=== Remarks === +==== Remarks ==== 
-  * The filename //must// be the same as the name of the class -- this is enforced by Java compiler.+  * The filename //must// be the same as the name of the top-level class -- this is enforced by Java compiler. But the top-level class can contain any number of nested classes.
   * In one class multiple jobs can be submitted, either in sequence or in parallel.   * In one class multiple jobs can be submitted, either in sequence or in parallel.
   * A mismatch of types is usually detected by the compiler, but sometimes it is detected only at runtime. If that happens, an exception is raised and the program crashes. For example, default key output class it ''LongWritable'' -- if ''Text'' was not specified, the program would crash.   * A mismatch of types is usually detected by the compiler, but sometimes it is detected only at runtime. If that happens, an exception is raised and the program crashes. For example, default key output class it ''LongWritable'' -- if ''Text'' was not specified, the program would crash.

[ Back to the navigation ] [ Back to the content ]