- Command to import table and customize the number of mappers:
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 --num-mappers 8
- To validate:
hadoop fs -ls /user/training/sqoop_import/retail_db/order_items