Errata

Apache Sqoop Cookbook

Errata for Apache Sqoop Cookbook

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.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

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

Version Location Description Submitted by Date submitted
Middle

The books says about "lastmodified" mode the following:

Internally, the lastmodified incremental import consists of two standalone MapReduce jobs. The first job will import the delta of changed data similarly to normal import. This import job will save data in a temporary directory on HDFS. The second job will take both the old and new data and will merge them together into the final output, preserving only the last updated value for each row.

I think Sqoop does not merge anything without explicitily specifying the operation sqoop merge.

Anonymous  Mar 14, 2018 
Printed, PDF, ePub Page 6
4th paragraph

It says, "Type sqoop help TOO (e.g., sqoop help import )".
It should be"Type sqoop help TOOL (e.g., sqoop help import )".

L is missing in TOOL

Anonymous  Dec 29, 2014 
Printed Page 14
Last source code block

In the book, the first command to create a password file is

echo "my-secret-password" > sqoop.password.

This command adds at the end of the password an end-of-line, which will be part of the password. To avoid that, the command has to be changed to

echo -n "my-secret-password" > sqoop.password

Vincenzo Manzoni  Jun 23, 2016