zoukankan      html  css  js  c++  java
  • DataX的安装

    DataX的安装


    1. 可下载tar包

    https://github.com/alibaba/DataX/blob/master/userGuid.md

    2. 下载源码自己编译

    git clone https://github.com/alibaba/DataX.git
    打包
    mvn -U clean package assembly:assembly -Dmaven.test.skip=true

    遇到错误
    [ERROR] Failed to execute goal on project otsstreamreader: Could not resolve dependencies for project com.alibaba.datax:otsstreamreader:jar:1.0.0-SNAPSHOT: Could not find artifact com.aliyun.openservices:tablestore-streamclient:jar:1.0.0-SNAPSHOT -> [Help 1]
    快照版本不一致,由于ots基本不会被用到,直接把pom.xml中的<module>ots</module>去掉
    也可以更改版本otsstreamreader中的默认版本为0.0.1,改为1.0.0

    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.4:jar (default-jar) on project ocswriter: Error assembling JAR: /Users/FengZhen/Desktop/Hadoop/DataX/源码/DataX/ocswriter/pom.xml isn't a file. -> [Help 1]
    ocs注释掉

    继续打包即可。

  • 相关阅读:
    SQL 多列合并一列
    jQuery Ajax post多个值传参
    jquery获取select选中的值
    js 事件对象
    有关cookie
    事件冒泡和事件捕获
    js事件监听
    阻止浏览器的默认行为
    鼠标拖拽效果
    自定义右键菜单
  • 原文地址:https://www.cnblogs.com/EnzoDin/p/9979583.html
Copyright © 2011-2022 走看看