当前位置:网站首页>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边栏推荐
- Pytoch counts the number of the same elements in the tensor
- Swift - add navigation bar
- End to end neural network
- About cache exceptions: solutions for cache avalanche, breakdown, and penetration
- Anaconda creates a virtual environment and installs pytorch
- Resnet+attention project complete code learning
- Experimental design - using stack to realize calculator
- NPM install reports an error
- POJ-2499 Binary Tree
- Understand redis persistence mechanism in one article
猜你喜欢

Implementing Yang Hui triangle with cyclic queue C language

The evolution of mobile cross platform technology

Interviewer: is acid fully guaranteed for redis transactions?

Resnet+attention project complete code learning

ZABBIX ODBC database monitoring

Solve the problem of cache and database double write data consistency

MySQL splits strings for conditional queries

Principle of universal gbase high availability synchronization tool in Nanjing University

Flutter2 heavy release supports web and desktop applications

嵌入式软件架构设计-消息交互
随机推荐
PXE启动配置及原理
Learning items
Why learn harmonyos and how to get started quickly?
嵌入式软件架构设计-消息交互
MySQL data table operation DDL & data type
One article tells the latest and complete learning materials of flutter
Solve the problem of cache and database double write data consistency
NPM install reports an error
Handwriting blocking queue: condition + lock
MySQL index (1)
MySQL multi table operation
Pytorch two-layer loop to realize the segmentation of large pictures
How can labels/legends be added for all chart types in chart. js (chartjs.org)?
How to clear floating?
POJ-2499 Binary Tree
MySQL index - extended data
Image hyperspectral experiment: srcnn/fsrcnn
Correct opening method of redis distributed lock
MySQL storage engine
Hexadecimal conversion summary