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 in Big Data Hadoop by Dinesh
9 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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 by Sharan

Related Questions In Big Data Hadoop

0 votes
1 answer

How to change the delimiter in Sqoop?

You can change delimiter in SQOOP command. By default, ...READ MORE

answered Dec 17, 2018 in Big Data Hadoop by Omkar
• 65,850 points
424 views
0 votes
1 answer

How to change file format using Sqoop?

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

answered Dec 17, 2018 in Big Data Hadoop by Omkar
• 65,850 points
130 views
0 votes
1 answer

How to install and configure a multi-node Hadoop cluster?

I would recommend you to install Cent ...READ MORE

answered Mar 21, 2018 in Big Data Hadoop by Shubham
• 12,270 points
463 views
0 votes
1 answer

How to create a FileSystem object that can be used for reading from and writing to HDFS?

Read operation on HDFS In order to read ...READ MORE

answered Mar 21, 2018 in Big Data Hadoop by nitinrawat895
• 9,070 points

edited Mar 21, 2018 by nitinrawat895 148 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
• 9,070 points
1,678 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
• 9,070 points
132 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
8,150 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,260 points
571 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
• 65,850 points
93 views
0 votes
1 answer

How to change the default HUE logs path?

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

answered Jan 7 in Big Data Hadoop by Omkar
• 65,850 points
21 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.