Review the Output Files


Let us review the output files that are generated when we run sqoop import.

  • Number of files will be equal to number of mappers.
  • By default files will be of type text file format.
  • We can run hadoop fs -ls commaand on the target location to which we have imported the data.
  • If the files are text file format we can use hadoop fs -tail on the files to preview the data.