Dagang Wei created PIG-5367: ------------------------------- Summary: Build error: impossible to resolve dependencies Key: PIG-5367 URL: https://issues.apache.org/jira/browse/PIG-5367 Project: Pig Issue Type: Bug Components: build Affects Versions: 0.17.0 Reporter: Dagang Wei
I checked out a branch from tag release-0.17.0, and followed the Build Pig guide at [https://wiki.apache.org/pig/BuildPig]. But it failed with the following error: $ ant ivy-resolve: [echo] *** Ivy resolve with Hadoop 2 and HBase 1 *** BUILD FAILED /home/dagang/pig/build.xml:1659: impossible to resolve dependencies: java.io.FileNotFoundException: /home/dagang/.ivy2/cache/resolved-org.apache.pig-pig-0.17.0-SNAPSHOT.xml (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:221) at java.io.FileOutputStream.<init>(FileOutputStream.java:171) at org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorUpdater.update(XmlModuleDescriptorUpdater.java:138) at org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorParser.toIvyFile(XmlModuleDescriptorParser.java:153) at org.apache.ivy.core.module.descriptor.DefaultModuleDescriptor.toIvyFile(DefaultModuleDescriptor.java:547) at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:248) at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:195) at org.apache.ivy.Ivy.resolve(Ivy.java:502) at org.apache.ivy.ant.IvyResolve.doExecute(IvyResolve.java:244) at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) ... at org.apache.tools.ant.Main.startAnt(Main.java:235) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) I also tried first run `./start-build-en.sh` and then run `ant` inside of the container, but it failed with the same error. -- This message was sent by Atlassian JIRA (v7.6.3#76005)