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 in Big Data Hadoop by Mike
194 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 by Sam

Related Questions In Big Data Hadoop

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 in Big Data Hadoop by Omkar
• 68,480 points
60 views
0 votes
1 answer

Sqoop error while importing data from MySql

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

answered Feb 11 in Big Data Hadoop by Omkar
• 68,480 points
76 views
0 votes
1 answer

Sqoop import: import failed error

The problem which you are facing is ...READ MORE

answered Feb 11 in Big Data Hadoop by Omkar
• 68,480 points
365 views
0 votes
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
• 10,800 points
3,565 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
• 10,800 points
447 views
+1 vote
11 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
18,338 views
0 votes
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,280 points
1,326 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
• 68,480 points
284 views
0 votes
1 answer