Unable to create empty hive table from sqoop

#1

I am running the sqoop command as below -
sqoop create-hive-table
–connect jdbc:mysql://ms.itversity.com:3306/retail_db
–username retail_user
–password itversity
–table orders
–hive-databese shivam_sqoop_import

I am getting the below error -
19/08/10 11:44:04 INFO sqoop.Sqoop: Running Sqoop version: 1.4.6.2.6.5.0-292
19/08/10 11:44:04 WARN tool.BaseSqoopTool: Setting your password on the command-line is insecure. Consider using -P instead.
19/08/10 11:44:04 ERROR tool.BaseSqoopTool: Error parsing arguments for create-hive-table:
19/08/10 11:44:04 ERROR tool.BaseSqoopTool: Unrecognized argument: --hive-databese
19/08/10 11:44:04 ERROR tool.BaseSqoopTool: Unrecognized argument: shivam_sqoop_import

0 Likes

#2

hi there is spelling mistake in this line: "–hive-databese " . correct it to "–hive-database

0 Likes