官网下载azkaban-plugins-master :https://github.com/azkaban/azkaban-plugins
编译步骤:cd azkaban-plugins-master ant clean ant package
说一下编译过程中出现的问题以及解决方式:
1.缺少git安装git
2.
jdk引起的问题,删除openjdk
3. org.jasypt.exceptions.EncryptionOperationNotPossibleException: Encryption raised an exception. A possible cause is you are using strong encryption algorithms and you have not installed the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files in this Java Virtual Machine解决方式:
you can download the files from (jdk7). And then copy the jars in $JAVA_HOME\jre\lib\security overwriting the existing local_policy.jar and US_export_policy.jar.
如果是jdk8,下载地址:
http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html
参考解决方案:
4.[exec] /bin/sh: dustc: command not found
首先安装npm包:参考
http://blog.csdn.net/xiao_jun_0820/article/details/50838185
然后安装dustjs-linkedin
npm install --save --production dustjs-linkedin# If you want the dustc compiler available globallynpm install --global --production dustjs-linkedin
5.make: lessc: Command not found
未解决
6.编译pig出现问题,不用pig直接去plugins目录删除pig的插件,在build.xml中删除相关pig插件的配置。
删除以下两项即可