Oozie 3.3.2 mkdistro failed

I am trying to install OOZIE 3.3.2. When running ./mkdistro.sh command following error is thrown. How to resolved this

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project oozie-core: Compilation failure [ERROR] error: error reading /home/hadoop/.m2/repository/javax/jdo/jdo2-api/2.3-ec/jdo2-api-2.3-ec.jar; error in opening zip file

Thanks in advance Jumin

Answers


It looks like the jar was corrupted during download. You can try to verify it by running:

unzip -t /home/hadoop/.m2/repository/javax/jdo/jdo2-api/2.3-ec/jdo2-api-2.3-ec.jar

If it doesn't work, and perhaps even if it does, I recommend you simply remove the downloaded jars and try to build again:

rm -rf /home/hadoop/.m2/repository/javax/jdo

Need Your Help

Re-arrange NSArray/MSMutableArray in random order

iphone random

I'm using NSArray/NSMutable array to store different objects.