当前位置:网站首页>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边栏推荐
- Differences between IPv6 and IPv4 three departments including the office of network information technology promote IPv6 scale deployment
- Storage Basics
- A guide to threaded and asynchronous UI development in the "quick start fluent Development Series tutorials"
- IPv6与IPv4的区别 网信办等三部推进IPv6规模部署
- Experimental design - using stack to realize calculator
- Average lookup length when hash table lookup fails
- MySQL index - extended data
- Constructing expression binary tree with prefix expression
- byte2String、string2Byte
- 强化学习-学习笔记3 | 策略学习
猜你喜欢

Preliminary exploration of basic knowledge of MySQL

Redis highly available sentinel mechanism

How can beginners learn flutter efficiently?
Automated test lifecycle

Master-slave mode of redis cluster

Matlab label2idx function (convert the label matrix into a cell array with linear index)

Principle of universal gbase high availability synchronization tool in Nanjing University

ZABBIX ODBC database monitoring

Get data from the database when using JMeter for database assertion

Resnet+attention project complete code learning
随机推荐
Average lookup length when hash table lookup fails
Learn the memory management of JVM 03 - Method area and meta space of JVM
How can beginners learn flutter efficiently?
Read and understand the rendering mechanism and principle of flutter's three trees
Redis clean cache
Storage Basics
Xi IO flow
POJ-2499 Binary Tree
Leetcode-1. Sum of two numbers (Application of hash table)
[HDU 2096] 小明A+B
Anaconda creates a virtual environment and installs pytorch
MySQL constraints
Third party payment interface design
Flutter2 heavy release supports web and desktop applications
End to end neural network
GPON technical standard analysis I
Redis highly available slice cluster
Learn memory management of JVM 01 - first memory
Seven ways to achieve vertical centering
MySQL storage engine