Errata

Data Algorithms

Errata for Data Algorithms

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Printed
Page 6
First section

Page 6 top:

job.setPartitionerClass(TemperaturePartitioner.class);

It should it be:

job.setPartitionerClass(DateTemperaturePartitioner.class);


Please note that there is not any TemperaturePartitioner class.

The source code @GitHub is correct:
https://github.com/mahmoudparsian/data-algorithms-book/blob/master/src/main/java/org/dataalgorithms/chap01/mapreduce/SecondarySortDriver.java

Mahmoud Parsian
Mahmoud Parsian
 
Aug 22, 2015 
Printed
Page 9
Example 1-6, line 13

Replace TemperaturePair.class
with DateTemperaturePartitioner.class.

Please note that there is no TemperaturePair.class.

Mahmoud Parsian
Mahmoud Parsian
 
Aug 22, 2015 
Printed
Page 10
Line 18 of source code

Replace

job.setPartitionerClass(TemperaturePartitioner.class);

with

job.setPartitionerClass(DateTemperaturePartitioner.class);

This is a typo, there is no TemperaturePartitioner class.

Please see https://github.com/mahmoudparsian/data-algorithms-book/blob/master/src/main/java/org/dataalgorithms/chap01/mapreduce/SecondarySortDriver.java

Mahmoud Parsian
Mahmoud Parsian
 
Aug 22, 2015