Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-4727

container-create-child experiences long delay if mvn artefacts need to be downloaded from remote repository

    XMLWordPrintable

Details

    • % %
    • Hide
      • Check your local Maven repo (~/.m2/repository). If it contains Maven artefact commons-dbcp/commons-dbcp/1.2, then delete it completely.
      • Start a fresh 6.2.1.
      • fabric:create --clean --profile fabric --wait-for-provisioning
      • profile-create test
      • profile-edit --bundle wrap:mvn:commons-dbcp/commons-dbcp/1.2 test
      • container-create-child --profile test root child
      • watch container-list - note the time it takes to fully provision the container. In this example it will take 5 mins. If you add other bundles to the test profile that are not available locally, it will take a multitude of 5 mins.
      Show
      Check your local Maven repo (~/.m2/repository). If it contains Maven artefact commons-dbcp/commons-dbcp/1.2, then delete it completely. Start a fresh 6.2.1. fabric:create --clean --profile fabric --wait-for-provisioning profile-create test profile-edit --bundle wrap:mvn:commons-dbcp/commons-dbcp/1.2 test container-create-child --profile test root child watch container-list - note the time it takes to fully provision the container. In this example it will take 5 mins. If you add other bundles to the test profile that are not available locally, it will take a multitude of 5 mins.
    • Sprint 5 - towards ER2

    Description

      Creating a child container on 6.2.1 can take a very long time if the profile to be applied to the child container references Maven artefacts that are not available locally. It takes about 5 mins for every remote bundle to be provisioned to the container. If there are multiple ( n ) bundles to be downloaded from remote repository, provisioning the child container takes n * 5 minutes.

      Attachments

        1. root.jstack
          88 kB
        2. child.jstack
          54 kB

        Issue Links

          Activity

            People

              ggrzybek Grzegorz Grzybek
              rhn-support-tmielke Torsten Mielke
              Andrej Vano Andrej Vano
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: