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

MongoDB Tutorial 10 : Operations on Collections

Unix Tutorial 9 : Vi Editor

NoSql Tutorial 3 : CAP Theorm