First when client execute Sqoop import commands through command it first goes to relational database. Whatever table we want to import data from,first it will gather metadata. Metadata is the information about the number of rows, columns and datatypes of data.
Second it submits to the Map-only job to Hadoop cluster. That Map-job gets the data from relational database and copy it to the HDFS storage.