Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sqoop import \
- --connect jdbc:mysql://localhost/source_database_name \ (This is the path to access the Source DB using JDBC Driver)
- --username <username> \ (Source Database Username)
- --password <password> \ (Source Database password)
- --database source_database_name \
- --where "query" \
- --table source_table_name \
- --target-dir <path of the file> \ (This is optional and base on requirement)
- -m 4 (This is based on requirement)
Add Comment
Please, Sign In to add comment