sqoop import \ --connect <rdbms-jdbc-url> \ --username <username> \ --password <password> \ --table <table-name>
sqoop import \ --connect jdbc:mysql://mysql.example.com/testdb \ --username root \ --password root \ --table employees
hadoop fs -cat <hdfs-home-dir>/employees/part-m-*
sqoop import \ --connect jdbc:mysql://mysql.example.com/testdb \ --username root \ --password root \ --table emplyoees \ --target-dir /dev/data/employees
sqoop import \ --connect jdbc:mysql://mysql.example.com/testdb \ --username root \ --password root \ --table emplyoees \ --warehouse-dir /dev/warehouse/
sqoop import \ --connect <rdbms-jdbc-url> \ --username <username> \ --password <password> \ --table <table-name> \ --where "<condition>"
sqoop import \ --connect jdbc:mysql://mysql.example.com/testdb \ --username root \ --password root \ --table employees \ --where "country = 'INDIA'"
sqoop import \ --connect <rdbms-jdbc-url> \ --username <username> \ --password <password> \ --query <sql-query> \ --target-dir <target-dir>