sqoop to import data to hive

≡放荡痞女 提交于 2019-12-12 01:22:15
问题 i am trying to import data to hive table using sqoop2. I am using --hive-import but it is not working Code: sqoop import --connect jdbc:sqlserver://192.168.x.xxx:11xx --username user --password user --table xxxx.NOTIFICATION --hive-import Error: ERROR manager.SqlManager: Error executing statement: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'XXXX.NOTIFICATION'. What am I doing wrong? 回答1: Below observations are based on Sqoop 1.4.6 you are using . (dot) in your table