Need help to solve unrecognized arg in sqoop

0 votes
//command

sqoop job \
--create myjob \
--import \
--connect jdbc:mysql://localhost/sqoop \
--username root -P \
--table customer \
--target-dir /user/hive/warehouse/sqoopassignment/ -m 1

Error:

ERROR tool.BaseSqoopTool: Error parsing arguments for job:
21/06/04 22:40:46 ERROR tool.BaseSqoopTool: Unrecognized argument: --import
21/06/04 22:40:46 ERROR tool.BaseSqoopTool: Unrecognized argument: --connect
21/06/04 22:40:46 ERROR tool.BaseSqoopTool: Unrecognized argument: jdbc:mysql://localhost/sqoop
21/06/04 22:40:46 ERROR tool.BaseSqoopTool: Unrecognized argument: --username
21/06/04 22:40:46 ERROR tool.BaseSqoopTool: Unrecognized argument: root
21/06/04 22:40:46 ERROR tool.BaseSqoopTool: Unrecognized argument: -password
21/06/04 22:40:46 ERROR tool.BaseSqoopTool: Unrecognized argument: cloudera
21/06/04 22:40:46 ERROR tool.BaseSqoopTool: Unrecognized argument: --table
21/06/04 22:40:46 ERROR tool.BaseSqoopTool: Unrecognized argument: customer
21/06/04 22:40:46 ERROR tool.BaseSqoopTool: Unrecognized argument: --target-dir
21/06/04 22:40:46 ERROR tool.BaseSqoopTool: Unrecognized argument: /user/hive/warehouse/sqoopassignment/
Jun 5, 2021 in Big Data Hadoop by Nirav

edited Mar 4, 2025 307 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP