当前位置:网站首页>Sqoop import and export operation
Sqoop import and export operation
2022-07-05 12:34:00 【JKing_ one hundred and sixty-eight】
· from mysq Import to hive
sqoop import \
--connect "jdbc:mysql://192.168.52.150:3306/ Library name ?useUnicode=true&characterEncoding=utf-8" \
--username root \
--password 123456 \
--query "sql sentence where 1=1 and \$CONDITIONS" \
--fields-terminated-by '\t' \
--hcatalog-database hive Library name \
--hcatalog-table hive Table name \
-m 1
· from hive Export to mysql
sqoop export \
--connect "jdbc:mysql://192.168.52.150:3306/mysql Library name ?useUnicode=true&characterEncoding=utf-8" \
--username root \
--password 123456 \
--table mysql Table name \
--hcatalog-database hive Library name \
--hcatalog-table hive Table name \
-m 1
边栏推荐
- Leetcode-1. Sum of two numbers (Application of hash table)
- Matlab label2idx function (convert the label matrix into a cell array with linear index)
- POJ-2499 Binary Tree
- PXE启动配置及原理
- Hexadecimal conversion summary
- C language structure is initialized as a function parameter
- Solve the error 1045 of Navicat creating local connection -access denied for user [email protected] (using password
- Acid transaction theory
- Pytoch loads the initialization V3 pre training model and reports an error
- UNIX socket advanced learning diary -ipv4-ipv6 interoperability
猜你喜欢
Summary of C language learning problems (VS)
Keras implements verification code identification
Pytoch uses torchnet Classerrormeter in meter
Tabbar configuration at the bottom of wechat applet
NPM install reports an error
UNIX socket advanced learning diary -ipv4-ipv6 interoperability
ZABBIX ODBC database monitoring
Anaconda creates a virtual environment and installs pytorch
Take you hand in hand to develop a service monitoring component
MySQL storage engine
随机推荐
Video networkstate property
Matlab superpixels function (2D super pixel over segmentation of image)
MySQL storage engine
Learn JVM garbage collection 05 - root node enumeration, security points, and security zones (hotspot)
What is the difference between canvas and SVG?
Introduction to relational model theory
MySQL splits strings for conditional queries
Yum only downloads the RPM package of the software to the specified directory without installing it
Basic operations of MySQL data table, addition, deletion and modification & DML
Average lookup length when hash table lookup fails
Summary of C language learning problems (VS)
一款新型的智能家居WiFi选择方案——SimpleWiFi在无线智能家居中的应用
Pytoch counts the number of the same elements in the tensor
ZABBIX customized monitoring disk IO performance
Semantic segmentation experiment: UNET network /msrc2 dataset
How to recover the information server and how to recover the server data [easy to understand]
[superhard core] is the core technology of redis
Take you hand in hand to develop a service monitoring component
MySQL index - extended data
The evolution of mobile cross platform technology