Sqoop tutorial 2 : Sqoop Import
Sqoop import tool imports an individual table from an RDBMS to HDFS. Each row from a table is represented as a separate record in HDFS. Records can be stored as text files (one record per line), or in binary representation as Avro or SequenceFiles.
Syntax :
Syntax :
sqoop import --connect jdbc:mysql://database.example.com/tablename \
--username --password
Comments
Post a Comment