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 : 

sqoop import --connect jdbc:mysql://database.example.com/tablename \
    --username  --password 

Comments

Popular posts from this blog

Unix Tutorial 14 : Text Processing Commands 1

Unix Tutorial 11 : Conditional Statements

Unix Tutorial 16 : Command Line Arguments