Sqoop – Import All Tables

Estimated reading: 1 minute 369 views

All import multiple Tables (In Indivisual directory)

sqoop import-all-tables –connect jdbc:mysql://localhost:3306/retail_db –username root -P

Execulding Few Tables

sqoop import-all-tables –connect jdbc:mysql://localhost:3306/retail_db –username root -P –warehouse-dir /user/hello/AllTables2 –exclude-tables categories,customers,departments

Leave a Comment

CONTENTS