Sqoop: How to load all tables except one?

0 votes

I have many tables that I want to import in Sqoop. I can use import-all-tables options but the problem is that I don't want to import one table in that. How can import all tables excpet one?

Feb 18 in Big Data Hadoop by Karza
521 views

1 answer to this question.

0 votes

You can use the import-all-tables option and along with that, use the --exclude-tables option to exclude the table that you don't want to import: For example:

sqoop import-all-tables --connect jdbc:mysql://localhost/sqoop --username root --password hadoop --target-dir '/Sqoop21/AllTables' --exclude-tables <table1>,<tables2>
answered Feb 18 by Omkar
• 67,480 points

Related Questions In Big Data Hadoop

0 votes
1 answer

How to import tables into Hive from Sqoop?

Very simple, in your sqoop command that ...READ MORE

answered May 15 in Big Data Hadoop by John
41 views
0 votes
1 answer

How to decrease load on HBase while importing Sqoop?

Sqoop by default serializes all the input ...READ MORE

answered May 16 in Big Data Hadoop by Yogi
35 views
0 votes
1 answer

How to load unencrypted tables to encrypted in Hive?

Refer to the below command to load ...READ MORE

answered May 30 in Big Data Hadoop by John
24 views
0 votes
1 answer

How to load encrypted tables to encrypted table in Hive?

If the data is already encrypted, use ...READ MORE

answered May 30 in Big Data Hadoop by Esha
23 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,670 points
2,738 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,670 points
289 views
0 votes
10 answers

hadoop fs -put command?

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

answered Dec 7, 2018 in Big Data Hadoop by Aditya
13,567 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
993 views
0 votes
1 answer

How to load multiple tables in Sqoop?

U can use " import-all-tables " option ...READ MORE

answered Feb 18 in Big Data Hadoop by Omkar
• 67,480 points
277 views
0 votes
3 answers

Spark Scala: How to list all folders in directory

val spark = SparkSession.builder().appName("Demo").getOrCreate() val path = new ...READ MORE

answered Dec 4, 2018 in Big Data Hadoop by Mark
1,778 views