Question: how sqoop import works internally?
Answer: The above diagram explains how sqoop uses the import command internally to retrieve data from other databases. In the first step, sqoop analyses database and frames metadata in order for the data to be retrieved. In the next step it uses map job to transfer data to HDFS using the metadata formed in the first step.