0


Datax安装

Datax安装十分简单

1、下载Datax安装包并上传到linux上

下载地址:http://datax-opensource.oss-cn-hangzhou.aliyuncs.com/datax.tar.gz

2、解压datax.tar.gz到目录,我选择把Datax解压到/opt目录

tar -zxvf datax.tar.gz -C /opt

3、自检,执行如下命令

python /opt/datax/bin/datax.py /opt/datax/job/job.json

最后如果出现如下内容,则表明安装成功

2022-11-09 16:04:41.808 [job-0] INFO HookInvoker - No hook invoked, because base dir not exists or is a file: /opt/datax/hook
2022-11-09 16:04:41.808 [job-0] INFO JobContainer -
[total cpu info] =>
averageCpu | maxDeltaCpu | minDeltaCpu
-1.00% | -1.00% | -1.00%

      [total gc info] =>
              NAME                 | totalGCCount       | maxDeltaGCCount    | minDeltaGCCount    | totalGCTime        | maxDeltaGCTime     | minDeltaGCTime
              PS MarkSweep         | 0                  | 0                  | 0                  | 0.000s             | 0.000s             | 0.000s
              PS Scavenge          | 0                  | 0                  | 0                  | 0.000s             | 0.000s             | 0.000s

2022-11-09 16:04:41.809 [job-0] INFO JobContainer - PerfTrace not enable!
2022-11-09 16:04:41.809 [job-0] INFO StandAloneJobContainerCommunicator - Total 100000 records, 2600000 bytes | Speed 253.91KB/s, 10000 records/s | Error 0 records, 0 bytes | All Task WaitWriterTime 0.009s | All Task WaitReaderTime 0.044s | Percentage 100.00%
2022-11-09 16:04:41.809 [job-0] INFO JobContainer -
任务启动时刻 : 2022-11-09 16:04:31
任务结束时刻 : 2022-11-09 16:04:41
任务总计耗时 : 10s
任务平均流量 : 253.91KB/s
记录写入速度 : 10000rec/s
读出记录总数 : 100000
读写失败总数 : 0

标签: linux 大数据 datax

本文转载自: https://blog.csdn.net/sinat_23225111/article/details/127771705
版权归原作者 一杯咖啡半杯糖 所有, 如有侵权,请联系我们删除。

“Datax安装”的评论:

还没有评论