Javatpoint Logo
Javatpoint Logo

Starting Sqoop

Sqoop is a command line tool with following structure

  • TOOL indicates the operation eg: "import", "export".
  • PROPERTY_ARGS are Java properties in the format "-Dname=value"
  • SQOOP_ARGS mention various Sqoop parameters
  • EXTRA_ARGS are for specialized connectors, separated from the SQOOP_ARGS with a "--"


Type "sqoop help" to get all the tools available:

Sqoop command

What happens in backend

When you have decided to move data from RDBMS to HDFS then the first product which comes into use is Apache Sqoop. When you request to bring the data to HDFS then the following things happen.

  1. Sqoop asks for metadata information from Relation DB.
  2. Relational DB returns the required request.
  3. Based on metadata information Sqoop generates java classes.
  4. Based on primary id partitioning happens in table as multiple mappers will importing data as the same time.
Next TopicSqoop Import

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA