Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-5367

Build error: impossible to resolve dependencies

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: 0.17.0
    • Fix Version/s: None
    • Component/s: build
    • Labels:
      None

      Description

      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-env.sh` and then run `ant` inside of the container, but it failed with the same error.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              functicons Dagang Wei
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: