Tech Talk
Quotes
Friday, April 10, 2020
copying data from DB to HDFS, Sqoop
$ sqoop import –connect jdbc:mysql://localhost/db –username foo –table TEST
or
$ sqoop –options-file /users/homer/work/import.txt –table TEST
where the options file /users/homer/work/import.txt contains the following:
import
–connect
jdbc:mysql://localhost/db
–username
foo
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment