Import Table From Sqoop to Hive Without Data

The below command helps in creating a table in Hive based on the MySQL table’s definition.  sqoop create-hive-table –connect=jdbc:mysql://localhost/retail_db –username=root –password=cloudera –table employees –hive-table emp;

Continue reading