- To redirect log messages to other files
sqoop import --connect jdbc:mysql://ms.itversity.com:3306/retail_db --username retail_user --password itversity --table order_items --warehouse-dir /user/training/sqoop_import/retail_db --delete-target-dir 1>import.out 2>import.err
- To view the import.out file:
view import.out
- To view the import.err file:
view import.err
- Command to get status of the job:
mapred job -status job_id
Durga Gadiraju
175.Reviewing logs of Sqoop Import
- March 16, 2023
- , 8:00 am
- , Uncategorized