Advertisement
Guest User

Untitled

a guest
Feb 8th, 2017
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. sqoop import --connect jdbc:mysql://localhost:3306/datasync
  2. --username root --password 654321
  3. --query 'SELECT id,name FROM test WHERE $CONDITIONS' --split-by id
  4. --hive-import --hive-database default --hive-table a
  5. --target-dir /tmp/yfr --as-parquetfile
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement