Sqoop hive import error

hive

#1

Hello,

I am getting error in --hive-import using sqoop in the big data labs.

[rizbiece@gw03 ~]$ sqoop import \

 --connect jdbc:mysql://ms.itversity.com/retail_db \
 --username retail_user \
 --password itversity \
 --table orders \
 --hive-import \
 --hive-database rizbiii \
 --hive table rizbi_import \
 --hive-overwrite

18/12/07 11:48:32 INFO sqoop.Sqoop: Running Sqoop version: 1.4.6.2.6.5.0-292
18/12/07 11:48:32 WARN tool.BaseSqoopTool: Setting your password on the command-line is insecure. Consider using -P instead.
18/12/07 11:48:32 ERROR tool.BaseSqoopTool: Error parsing arguments for import:
18/12/07 11:48:32 ERROR tool.BaseSqoopTool: Unrecognized argument: --hive
18/12/07 11:48:32 ERROR tool.BaseSqoopTool: Unrecognized argument: table
18/12/07 11:48:32 ERROR tool.BaseSqoopTool: Unrecognized argument: rizbi_import
18/12/07 11:48:32 ERROR tool.BaseSqoopTool: Unrecognized argument: --hive-overwrite


#2

Try –hive-table rizbi_import and Lets us know.


#3

yes it works.

LOL i can’t believe i made this silly mistake :wink:


#4