Guest User

Untitled

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