Guest User

Untitled

a guest
May 9th, 2018
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. sqoop job \
  2. --create <job_name> \
  3. --import \
  4. --connect jdbc:mysql://localhost/source_database_name \ (This is the path to access the Source DB using JDBC Driver)
  5. --username <username> \ (Source Database Username)
  6. --password <password> \ (Source Database password)
  7. --database source_database_name \ (The database name will become folder name in target HDFS )
  8. --table Source_table_name \
  9. -m 4
Add Comment
Please, Sign In to add comment