当前位置:网站首页>DataX installation
DataX installation
2022-07-29 05:55:00 【JACK-JIE】
One 、 download tar package
github Address :https://github.com/alibaba/DataX
download tar Package address :http://datax-opensource.oss-cn-hangzhou.aliyuncs.com/datax.tar.gz
Two 、 Upload tar Unzip the package and install
Upload to server /opt/ And decompress
tar -xzvf datax.tar.gz
- 1

3、 ... and 、 Upload and unzip datax-web
link : https://pan.baidu.com/s/1B8bb_KeyIYvpbI5s3IwCjA Extraction code : 3pah
Upload the compressed package to the service directory , Here I upload to /usr/local/ Next , You can upload it to the directory you want
unzip datax-web-2.1.2.zip
- 1
Four 、 establish datax-web database
sql The files are in the following directory 
Four 、 Modify the configuration file
1. Modify database connection
modules Under the datax-admin Under the conf Under the bootstrap.properties
2. Be careful datax-executor Under the bin Under the env.properties Of PYTOHON_PATH Configuration address of , It needs to be installed with us datax The catalog is consistent 
5、 ... and 、 start-up datax-web And visit
perform datax-web-2.1.2 Under the bin Under the start-all.sh Start all modules 
visit :http:// The server IP:9527/index.html#/dashboard
6、 ... and 、 Record the problems that may be encountered in the actual development process
1. solve Oracle No, dba Permission query of users and tables failed
getSQLQueryTables Method sql Medium dba_tables It is amended as follows all_tables.
getSQLQueryTableSchema Method sql Medium dba_users It is amended as follows all_users.
- 1
- 2
Modify the specified method after downloading the source code , pack jar Post replacement datax-admin Under the lib Under the datax-web-2.1.2.jar
2. solve datax Write data to db2 database
datax There is no independent plug-in support for now db2, Need to use general RDBMS; Here is write db2, Use rdbmswriter, The corresponding directory is /datax/plugin/writer/rdbmswriter/
Modify... In this directory plugin.json, Register database driver
{
"name": "rdbmswriter",
"class": "com.alibaba.datax.plugin.reader.rdbmswriter.RdbmsWriter",
"description": "useScene: prod. mechanism: Jdbc connection using the database, execute select sql, retrieve data from the ResultSet. warn: The more you know about the database, the less problems you encounter.",
"developer": "alibaba",
"drivers":["com.ibm.db2.jcc.DB2Driver"]
}
- 1
- 2
- 3
- 4
- 5
- 6
- 7
Upload db2 Drive to libs, As shown in the figure 
job The files are all in /datax/job Catalog
Create the job Of json file 
Execute task commands
python /opt/datax/bin/datax.py /opt/datax/job/xx.json
- 1
边栏推荐
- 【go】defer的使用
- CMD window under Windows connects to MySQL and operates the table
- D3.JS 纵向关系图(加箭头,连接线文字描述)
- Sports health is deeply rooted in the hearts of the people, and move protocol leads quality life
- 并发编程学习笔记 之 原子操作类AtomicReference、AtomicStampedReference详解
- Extreme deflation and perpetual motion machine model will promote the outbreak of platofarm
- Bare metal cloud FASS high performance elastic block storage solution
- Laravel service container (Application of context binding)
- Move protocol global health declaration, carry out the health campaign to the end
- Research and implementation of flash loan DAPP
猜你喜欢

Fantom (FTM) prices will soar by 20% in the next few days

性能对比|FASS iSCSI vs NVMe/TCP

剑指核心-TaoCloud全闪SDS助力构建高性能云服务

CMD window under Windows connects to MySQL and operates the table

Reporting Services- Web Service

Novice introduction: download from PHP environment to thinkphp6 framework by hand

“山东大学移动互联网开发技术教学网站建设”项目实训日志二

深度学习的趣味app简单优化(适合新手)

How to PR an open source composer project

Idea using JDBC to connect mysql database personal detailed tutorial
随机推荐
C# 连接 SharepointOnline WebService
数组的基础使用--遍历循环数组求出数组最大值,最小值以及最大值下标,最小值下标
我的理想工作,码农的绝对自由支配才是最重要的——未来创业的追求
Countdown of the uniapp component (such as the countdown to reading the agreement and the countdown to completing learning)
Bare metal cloud FASS high performance elastic block storage solution
Training log III of "Shandong University mobile Internet development technology teaching website construction" project
手撕ORM 框架(泛型+注解+反射)
MOVE PROTOCOL全球健康宣言,将健康运动进行到底
Plato farm is expected to further expand its ecosystem through elephant swap
30 knowledge points that must be mastered in quantitative development [what is individual data]?
centos7 静默安装oracle
极致通缩和永动机模型,将推动 PlatoFarm 爆发
Elastic box flex
Performance comparison | FASS iSCSI vs nvme/tcp
C# 判断用户是手机访问还是电脑访问
Flink connector Oracle CDC 实时同步数据到MySQL(Oracle19c)
超简单集成HMS ML Kit 人脸检测实现可爱贴纸
浅谈分布式全闪存储自动化测试平台设计
File permissions of day02 operation
与多家机构战略合作,背后彰显PlatoFarm元宇宙龙头的实力