Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sqoop import --connect jdbc:mysql://localhost/export
- --username root
- --password cloudera
- --table cust
- --hive-import
- --create-hive-table
- --fields-terminated-by ' '
- --hive-table default.cust
- --target-dir /user/hive/warehouse/cust
- --compression-codec org.apache.org.io.compress.GzipCodec
- --as-avrodatafile
- -m 1
Add Comment
Please, Sign In to add comment