Sqoop import error with sqoop job

0 votes

Hi team, I had tried to create a sqoop job, but I am getting errors when I use the following sqoop command. Please run this from your end let me know where the problem was. Thanks

sqoop job --create retaildb_comerica --import --connect jdbc:mysql://mysqldb.edu.cloudlab.com/retail_db --table comerica --username labuser --password edureka --incremental append --check-column customer_id --last-value 12436 --target-dir /user/edureka_227114/Sqoop/inc-comerica -m 1
Jul 9 in Big Data Hadoop by Esha
14 views

1 answer to this question.

0 votes

Please try the below command:

sqoop job -create retaildb_comercia -- import --connect jdbc:mysql://mysqldb.edu.cloudlab.com/retail_db --username labuser --P --table comercia --target-dir sayni_sqoop --check-column customer_id --incremental append --last-value 12436 -m 1

There needs to be a space between -- and import. Also, I am attaching a documentation for sqoop job.

answered Jul 9 by Rina

Related Questions In Big Data Hadoop

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
• 67,120 points
115 views
0 votes
1 answer

Getting error while using sqoop import.

You are trying to execute the sqoop ...READ MORE

answered Jul 5 in Big Data Hadoop by Reshma
30 views
0 votes
1 answer

Getting error in MapReduce job.setInputFormatClass

In old Hadoop API(i.e. below Hadoop 0.20.0), ...READ MORE

answered Apr 15, 2018 in Big Data Hadoop by Shubham
• 13,190 points
268 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,110 points
2,046 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,110 points
196 views
0 votes
10 answers

hadoop fs -put command?

copy command can be used to copy files ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Sujay
10,476 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,240 points
764 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
• 67,120 points
159 views
0 votes
1 answer