Author: Sanjamala Nayeem
Original Publication Date: April 2, 2015
- MapR 4.0.1
- MapR 3.x
- sqoop 1.4.5
Steps to enable debug log for the sqoop
To enable debug mode on sqoop we need to follow these steps.
Add following two lines in log4j.properties and modify the sqoop command to include --verbose option
The location of the log4j.properties file(s) that you need to edit is based on the type of job or applications that you will run from this client machine:
Job or Application Type
|MapReduce v1 jobs||%MAPR_HOME%\hadoop\hadoop-0.20.0\conf\log4j.properties|
(MapReduce v2 or other applications that run on YARN)
If you plan to run both MapReduce v1 jobs and MapReduce v2 applicatons, you need to updated both log4j.properties files with the user parameters.