Sqoop error while importing data from MySql

0 votes

I am using Sqoop import command but I am getting the below error:

Feb 11, 2019 in Big Data Hadoop by Sowmya
225 views

1 answer to this question.

0 votes

As the error states, the target directory you have mentioned in the sqoop command already exists in hdfs. So, in the sqoop command, in the target dir parameter, mention the directory that is not already present in hdfs. The sqoop command creates the directory automatically. Now you can either give a new name for the directory, or delete the existing directory and then run this command again.

Refer this link to delete the directory: https://www.edureka.co/community/38015/deleting-directory-in-sqoop

answered Feb 11, 2019 by Omkar
• 69,020 points

Related Questions In Big Data Hadoop

0 votes
1 answer

How to fetch more data from database while using Sqoop import?

Hey. You guessed it right. The max ...READ MORE

answered May 15, 2019 in Big Data Hadoop by Gani
678 views
0 votes
1 answer

Sqoop error while trying to connect to MySql

Please use the below command to solve ...READ MORE

answered May 22, 2019 in Big Data Hadoop by Bhagavath
457 views
0 votes
1 answer

Is there any way to load data from MySql to HDFS?

The generic command i.e used to import ...READ MORE

answered Apr 10, 2018 in Big Data Hadoop by nitinrawat895
• 10,920 points
1,384 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
• 10,920 points
5,532 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,920 points
818 views
+1 vote
11 answers

hadoop fs -put command?

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

answered Dec 7, 2018 in Big Data Hadoop by Aditya
34,322 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,310 points
2,079 views
0 votes
1 answer

Sqoop import failed while importing mysql table to Hbase

There is a spelling mistake in your ...READ MORE

answered Feb 6, 2019 in Big Data Hadoop by Omkar
• 69,020 points
528 views
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,020 points
151 views