Default sqoop validator and how to change

0 votes
Hi. I am trying to add a validator to sqoop. I have read that it only compares the number of rows in the source and destination. I want to know which validator sqoop uses to check this. And also, I have written my own validator. How can I use this validator instead of the default?
May 15, 2019 in Big Data Hadoop by Dinesh
699 views

1 answer to this question.

0 votes

The default validator used is  org.apache.sqoop.validation.RowCountValidator. If you want to use a custom validator, then you have to mention the validator class in the sqoop import command. Refer to the below syntax:

$ sqoop import <all other parameters> --validator <class_name>
answered May 15, 2019 by Sharan

Related Questions In Big Data Hadoop

0 votes
3 answers

How to change the delimiter in Sqoop?

--fields-terminated-by <char> READ MORE

answered Jun 25, 2019 in Big Data Hadoop by anonymous
10,584 views
0 votes
1 answer

How to change file format using Sqoop?

For change in the file format, you ...READ MORE

answered Dec 18, 2018 in Big Data Hadoop by Omkar
• 69,220 points
2,061 views
–1 vote
1 answer

How to change the default HUE logs path?

You can change/replace the LOG_DIR variable to ...READ MORE

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

How to change WebHCat default port?

The default port configuration is stored in ...READ MORE

answered Jun 4, 2019 in Big Data Hadoop by Hari
748 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,030 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,538 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
108,840 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,613 views
0 votes
1 answer

How to change the default value and to alter a column in sql?

Hi, You can try this: ALTER TABLE foobar_data CHANGE ...READ MORE

answered Jun 24, 2019 in Big Data Hadoop by Gitika
• 65,770 points
1,520 views
0 votes
1 answer

Hadoop Sqoop: How to change sqoop metastore?

In sqoop-site.xml I configured it with, the ...READ MORE

answered Nov 13, 2018 in Big Data Hadoop by Omkar
• 69,220 points
1,757 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