当前位置:网站首页>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
边栏推荐
- PIP command reports an error pip is configured with locations that requires tls/ssl problems
- Seven ways to achieve vertical centering
- Correct opening method of redis distributed lock
- End to end neural network
- Redis highly available sentinel mechanism
- Understand redis persistence mechanism in one article
- A new WiFi option for smart home -- the application of simplewifi in wireless smart home
- GPON technical standard analysis I
- Distributed solution - Comprehensive decryption of distributed task scheduling platform -xxljob
- GPS data format conversion [easy to understand]
猜你喜欢
Tabbar configuration at the bottom of wechat applet
Pytoch monolayer bidirectional_ LSTM implements MNIST and fashionmnist data classification
什么是数字化存在?数字化转型要先从数字化存在开始
Redis highly available slice cluster
UNIX socket advanced learning diary -ipv4-ipv6 interoperability
Matlab label2idx function (convert the label matrix into a cell array with linear index)
Redis's memory elimination mechanism, read this article is enough.
16 channel water lamp experiment based on Proteus (assembly language)
Matlab boundarymask function (find the boundary of the divided area)
Principle of universal gbase high availability synchronization tool in Nanjing University
随机推荐
The relationship between the size change of characteristic graph and various parameters before and after DL convolution operation
Video networkstate property
Pytoch through datasets Imagefolder loads datasets directly from files
Yum only downloads the RPM package of the software to the specified directory without installing it
GPS data format conversion [easy to understand]
Pytoch uses torchnet Classerrormeter in meter
Want to ask, how to choose a securities firm? Is it safe to open an account online?
Learning items
II. Data type
NPM install reports an error
图像超分实验:SRCNN/FSRCNN
MySQL view
IPv6与IPv4的区别 网信办等三部推进IPv6规模部署
UNIX socket advanced learning diary -ipv4-ipv6 interoperability
Array cyclic shift problem
ZABBIX agent2 installation
ZABBIX 5.0 - LNMP environment compilation and installation
UNIX socket advanced learning diary - advanced i/o functions
Redis's memory elimination mechanism, read this article is enough.
byte2String、string2Byte