Advertisement
Guest User

Untitled

a guest
Feb 26th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. sqoop import-all-tables
  2. --connect jdbc:mysql://your_ip_address:3306/database_name
  3. --driver com.mysql.jdbc.Driver
  4. --username root
  5. --warehouse-dir temp_dir_for_staging
  6. --hive-import
  7. --hive-overwrite
  8. --hive-database hive_db
  9. --exclude-tables list_of_tables_to_be_excluded
  10. -m 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement