I am encountering the same issue. After issuing the import command, i can locate it in the /user/hive/warehouse directory. But when in hive shell I issue the 'show tables' command, nothing is returned.
My import command looks like this:
./sqoop import --connect 'jdbc:sqlserver://192.168.1.1:1433;database=dbname;user=sa;password=password' -table customers --create-hive-table --hive-table mytable -target-dir /user/hive/warehouse/imports/ -as-textfile -split-by id -fields-terminated-by ',' -m 1 --hive-import
Any idea why that might be? Did i miss out any parameters?
Thank you