Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-817

If DNS is playing up, Ivy takes a lot longer to sort project dependencies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0-beta-2
    • 2.0-RC1
    • Core
    • None
    • Ubuntu 8.04 with messed up DNS

    Description

      I've just upgraded to Ubuntu 8.04, and for reasons I dont fully understand. DNS is now very patchy; long pauses before responses coming in

      running at -d level, the pauses happen after printing all the pauses, finishing when the Sort dependencies response comes in
      [ivy-projects] Module descriptor is processed : org.smartfrog#sf-tasks;working@k2
      [ivy-projects] Module descriptor is processed : org.smartfrog#smartfrog;working@k2

      //insert 30s pause here

      [ivy-projects] Sort dependencies of : org.smartfrog#sf-m32;working@k2 / Number of dependencies = 9

      During resolution, the delay happens after the sort

      [ivy:resolve] Module descriptor is processed : org.apache.ant#ant;1.7.0
      [ivy:resolve] Sort done for : org.apache.ant#ant-apache-regexp;1.7.0
      [ivy:resolve] Sort dependencies of : org.apache.ant#ant-apache-resolver;1.7.0 / Number of dependencies = 3

      //here is where the delay is

      [ivy:resolve] Module descriptor is processed : org.apache.ant#ant;1.7.0
      [ivy:resolve] Sort done for : org.apache.ant#ant-apache-resolver;1.7.0
      [ivy:resolve] Sort dependencies of : org.apache.ant#ant-commons-logging;1.7.0 / Number of dependencies = 3

      -I'm not sure why dns/rdns should be needed during a sort, unless remote repositories are being polled. I'm also surprised, as java caches DNS responses by default.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stevel@apache.org Steve Loughran
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: