当前位置:网站首页>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边栏推荐
- A guide to threaded and asynchronous UI development in the "quick start fluent Development Series tutorials"
- Why do you always fail in automated tests?
- Matlab label2idx function (convert the label matrix into a cell array with linear index)
- How to recover the information server and how to recover the server data [easy to understand]
- SENT协议译码的深入探讨
- POJ-2499 Binary Tree
- UNIX socket advanced learning diary -ipv4-ipv6 interoperability
- PXE启动配置及原理
- Acid transaction theory
- Learn JVM garbage collection 05 - root node enumeration, security points, and security zones (hotspot)
猜你喜欢

Understand kotlin from the perspective of an architect

Ecplise development environment configuration and simple web project construction

About cache exceptions: solutions for cache avalanche, breakdown, and penetration

Keras implements verification code identification

Matlab boundarymask function (find the boundary of the divided area)

Pytorch two-layer loop to realize the segmentation of large pictures

ZABBIX customized monitoring disk IO performance
A guide to threaded and asynchronous UI development in the "quick start fluent Development Series tutorials"

Principle of universal gbase high availability synchronization tool in Nanjing University

7月华清学习-1
随机推荐
Four operations and derivative operations of MATLAB polynomials
MySQL regular expression
Redis's memory elimination mechanism, read this article is enough.
Solution to order timeout unpaid
The relationship between the size change of characteristic graph and various parameters before and after DL convolution operation
ZABBIX agent2 monitors mongodb nodes, clusters and templates (official blog)
Want to ask, how to choose a securities firm? Is it safe to open an account online?
想问问,如何选择券商?在线开户是很安全么?
Making and using the cutting tool of TTF font library
MySQL index - extended data
How to recover the information server and how to recover the server data [easy to understand]
MySQL view
Learning JVM garbage collection 06 - memory set and card table (hotspot)
Video networkstate property
嵌入式软件架构设计-消息交互
How to clear floating?
Summary of C language learning problems (VS)
Knowledge representation (KR)
Resnet+attention project complete code learning
Master the new features of fluent 2.10