Knowledge About Apache Sqoop and Its All Basic Commands To Import and Export The Data
Knowledge About Apache Sqoop and Its All Basic Commands To Import and Export The Data
Arguements:
--create-hive-table Fail if the target hive table
exists
--hive-import Import tables into Hive
--hive-overwrite Overwrite existing data in
the Hive table
--hive-table <table-name> Sets the table name to use
when importing to Hive
--hive-database <database-name> Sets the database name to
use when importing to Hive
--delete-target-dir To delete target directory
in default path
--exclude-tables To exclude some tables
from import
--import-all-tables:
For the import-all-tables tool to be useful, the following
conditions must be met:
1. Each table must have a single-column primary key(Should
not have more than 1 primary key)
2. You must intend to import all columns of each table.
3. You must not intend to use WHERE clause.
codegen generates the .java, .class & .jar file for the sqoop
job executed
sqoop codegen --connect jdbc:mysql://localhost/retail_db --
username root --password cloudera --table ordr;
REPLY
https://bigdatasolutionss.blogspot.com/2019/11/knowledge-about-apache-sqoop-and-its.html 5/7
4/5/2020 Knowledge about Apache Sqoop and its all basic commands to import and export the Data
Hello Friends,
READ MORE
READ MORE
https://bigdatasolutionss.blogspot.com/2019/11/knowledge-about-apache-sqoop-and-its.html 6/7
4/5/2020 Knowledge about Apache Sqoop and its all basic commands to import and export the Data
Powered by Blogger
ANAMIKA SINGH
VISIT PROFILE
Archive
Report Abuse
https://bigdatasolutionss.blogspot.com/2019/11/knowledge-about-apache-sqoop-and-its.html 7/7