首页 > 技术文章 > 编译datax(3.x版本)踩的坑,记录修改记录

wuyouwei 2019-06-04 16:17 原文

  1.

  otsstreamreader报错

修改下面依赖改为1.0.0
<dependency>
<groupId>com.aliyun.openservices</groupId>
<artifactId>tablestore-streamclient</artifactId>
<version>1.0.0</version>
</dependency>
2.

hdfsreader报错
2.1
修改为1.8
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
<encoding>${project-sourceEncoding}</encoding>
</configuration>
</plugin>
2.2
缺少
org.pentaho.pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde
https://public.nexus.pentaho.org/#browse/search=keyword%3Dpentaho-aggdesigner-algorithm:dfbef09efe1644eaf46667ad068c6bc7:0ab80a743921e426879e5d032aabde8f下载jar包编译到本地仓库
 mvn install:install-file -DgroupId=org.pentaho -DartifactId=pentaho-aggdesigner-algorithm -Dversion=5.1.5-jhyde -Dpackaging=jar -Dfile={your path}/pentaho-aggdesigner-algorithm-5.1.5-jhyde-jhyde.jar
2.3
缺少eigenbase:eigenbase-properties:jar:1.1.4
https://github.com/julianhyde/eigenbase-properties下载源码编译

mvn install:install-file -DgroupId=eigenbase -DartifactId=eigenbase-properties -Dversion=1.1.4 -Dpackaging=jar -Dfile={your path}/pentaho-aggdesigner-algorithm-5.1.5-jhyde-jhyde.jar
3.

推荐阅读