Sqoop Validator Failure Handling

0 votes

I need some help with Sqoop Validation. I had written a custom validator and was using it for validation using the below syntax:

$ sqoop import <all other parameters> --validator <class_name>

But for some reason, there a failure due to which the program is crashing. I want to write a failure handler and got a failure handler from git. Now how should I specify this in the sqoop command. 

May 15 in Big Data Hadoop by Sunil
7 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

Once you have downloaded the failure handler class, specify it in the sqoop import command as follows:

$ sqoop import <all other parameters> --validator <class_name> --validator-failurehandler <class_name>
answered May 15 by Rajat

Related Questions In Big Data Hadoop

0 votes
1 answer
0 votes
1 answer

How to transfer data from Netezza to HDFS using Apache Sqoop?

Remove the --direct option. It gives issue ...READ MORE

answered Apr 23, 2018 in Big Data Hadoop by kurt_cobain
• 9,260 points
185 views
0 votes
1 answer
0 votes
1 answer

Could not find the Sqoop directory in HDP 2.2

You can find the Sqoop lib directory ...READ MORE

answered May 4, 2018 in Big Data Hadoop by Shubham
• 12,270 points
223 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,677 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,146 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

Default sqoop validator and how to change?

The default validator used is  org.apache.sqoop.validation.RowCountValidator. If you ...READ MORE

answered May 15 in Big Data Hadoop by Sharan
9 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

© 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.