Sqoop ERROR tool BaseSqoopTool Unrecognized argument

0 votes

I am having trouble using Sqoop import.

[edureka_610631@ip-20-0-41-62 ~]$ sqoop import --connect jdbc:mysql://sqoopdb.edu.cloudlab.com/Sqoop_Demo --table customers -username labuser -passwd edureka -m 1 --target-dir '/user/edureka_610631/sqoop_sql/';Warning: /opt/cloudera/parcels/CDH-5.11.1-1.cdh5.11.1.p0.4/bin/../lib/sqoop/../accumulo does not exist! Accumulo imports will fail.Please set $ACCUMULO_HOME to the root of your Accumulo installation.19/05/08 00:14:52 INFO sqoop.Sqoop: Running Sqoop version: 1.4.6-cdh5.11.119/05/08 00:14:52 ERROR tool.BaseSqoopTool: Error parsing arguments for import:19/05/08 00:14:52 ERROR tool.BaseSqoopTool: Unrecognized argument: -passwd19/05/08 00:14:52 ERROR tool.BaseSqoopTool: Unrecognized argument: edureka19/05/08 00:14:52 ERROR tool.BaseSqoopTool: Unrecognized argument: -m19/05/08 00:14:52 ERROR tool.BaseSqoopTool: Unrecognized argument: 119/05/08 00:14:52 ERROR tool.BaseSqoopTool: Unrecognized argument: --target-dir19/05/08 00:14:52 ERROR tool.BaseSqoopTool: Unrecognized argument: /user/edureka_610631/sqoop_sql
Aug 1, 2019 in Big Data Hadoop by Mike
5,365 views

1 answer to this question.

0 votes

The command you are executing is slightly incorrect. The correct command will be as below,

sqoop import --connect jdbc:mysql://sqoopdb.edu.cloudlab.com/Sqoop_Demo --table customers --username labuser --password edureka -m 1 --target-dir/user/edureka_610631/sqoop_sql/

answered Aug 1, 2019 by Sam

Related Questions In Big Data Hadoop

0 votes
1 answer

Sqoop: ERROR tool.BaseSqoopTool: Error parsing arguments

There are two mistakes in the command ...READ MORE

answered Aug 2, 2019 in Big Data Hadoop by Kunal
7,578 views
0 votes
1 answer
0 votes
1 answer

Sqoop getting error while connecting to MySQL

Have you set a password for MySQL? ...READ MORE

answered Feb 7, 2019 in Big Data Hadoop by Omkar
• 69,220 points
1,442 views
0 votes
1 answer

Sqoop error while importing data from MySql

As the error states, the target directory ...READ MORE

answered Feb 11, 2019 in Big Data Hadoop by Omkar
• 69,220 points
2,256 views
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
11,076 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
2,573 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
109,071 views
–1 vote
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,350 points
4,641 views
0 votes
1 answer

Hadoop sqoop import not working. Error: ERROR manager.SqlManager: Error reading from database

In the command, try mentioning the driver ...READ MORE

answered Dec 5, 2018 in Big Data Hadoop by Omkar
• 69,220 points
2,172 views
0 votes
1 answer

Sqoop import gives error: org.apache.hadoop.security.AccessControlException: Permission denied

Seems like you are not passing the ...READ MORE

answered Dec 17, 2018 in Big Data Hadoop by Omkar
• 69,220 points
2,101 views
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