Guest User

Untitled

a guest
Oct 10th, 2018
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. sqoop import --connect jdbc:mysql://localhost/export
  2. --username root
  3. --password cloudera
  4. --table cust
  5. --hive-import
  6. --create-hive-table
  7. --fields-terminated-by ' '
  8. --hive-table default.cust
  9. --target-dir /user/hive/warehouse/cust
  10. --compression-codec org.apache.org.io.compress.GzipCodec
  11. --as-avrodatafile
  12. -m 1
Add Comment
Please, Sign In to add comment