Search code examples
clouderasqoop

Can you please explain the "m 1 " in the last line?


sqoop import \ --connect jdbc:mysql://localhost/userdb \ --username root \ --table emp --m 1


Solution

  • It tells sqoop to use only one mapper task to perform the import operation. This will lead to creation of only 1 part file.