当前位置:网站首页>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边栏推荐
- Solve the error 1045 of Navicat creating local connection -access denied for user [email protected] (using password
- Knowledge representation (KR)
- Learning items
- Four operations and derivative operations of MATLAB polynomials
- IPv6与IPv4的区别 网信办等三部推进IPv6规模部署
- Take you hand in hand to develop a service monitoring component
- UNIX socket advanced learning diary - advanced i/o functions
- Seven polymorphisms
- Why do you always fail in automated tests?
- Understanding the architecture type of mobile CPU
猜你喜欢

Redis's memory elimination mechanism, read this article is enough.

Anaconda creates a virtual environment and installs pytorch

NPM install reports an error

Solve the problem of cache and database double write data consistency

Reinforcement learning - learning notes 3 | strategic learning

Get all stock data of big a

UNIX socket advanced learning diary -ipv4-ipv6 interoperability

Matlab superpixels function (2D super pixel over segmentation of image)

Learn memory management of JVM 01 - first memory

Summary of C language learning problems (VS)
随机推荐
Learn memory management of JVM 01 - first memory
ZABBIX 5.0 - LNMP environment compilation and installation
Matlab boundarymask function (find the boundary of the divided area)
Distributed solution - Comprehensive decryption of distributed task scheduling platform -xxljob
Principle and performance analysis of lepton lossless compression
GPON technical standard analysis I
POJ-2499 Binary Tree
Distributed solution - distributed session consistency problem
C language structure is initialized as a function parameter
Average lookup length when hash table lookup fails
Reinforcement learning - learning notes 3 | strategic learning
Why learn harmonyos and how to get started quickly?
Keras implements verification code identification
嵌入式软件架构设计-消息交互
Two minutes will take you to quickly master the project structure, resources, dependencies and localization of flutter
Clear neo4j database data
Handwriting blocking queue: condition + lock
Matlab imoverlay function (burn binary mask into two-dimensional image)
ZABBIX agent2 installation
Learn JVM garbage collection 02 - a brief introduction to the reference and recycling method area