Question: Can I import RDBMS table data (table doesn't have a primary key) to hive using sqoop? If yes, then can you please give the sqoop import command.

I have tried with sqoop import general command, but it failed.

Answer: 
In the first scenario using 1 Mapper ... If the size of the file is very large this process is going to take more time to respond or might fail. Check the size of the data before using mapper = 1 .
Use the following in your command:

```
--autoreset-to-one-mapper

```

`Import` should use one mapper if a table has no primary key and no split-by column is provided. It cannot be used with `--split-by <col>` option.