Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-19576

Downgrade request fails as existing Upgrade request is considered 'in progress'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0
    • ambari-web
    • None

    Description

      ambari-server --hash
      c1748443f8585c9457691c2a39e35da1d3e66c52

      Build #2.5.0.0-633

      STR

      1. Started Express Upgrade to HDP-2.6.0.0 (via UI)
      2. Hit downgrade at first manual prompt

      Result
      Downgrade failed with below error:

      14 Jan 2017 16:53:46,013 ERROR [ambari-client-thread-35] AbstractResourceProvider:285 - Caught AmbariException when creating a resource
      org.apache.ambari.server.AmbariException: Unable to perform downgrade as another downgrade (request ID 293) is in progress.
              at org.apache.ambari.server.controller.internal.UpgradeResourceProvider$PreReqCheckValidator.check(UpgradeResourceProvider.java:2028)
              at org.apache.ambari.server.controller.internal.UpgradeResourceProvider$UpgradeRequestValidator.validate(UpgradeResourceProvider.java:1952)
              at org.apache.ambari.server.controller.internal.UpgradeResourceProvider$UpgradeRequestValidator.validate(UpgradeResourceProvider.java:1956)
              at org.apache.ambari.server.controller.internal.UpgradeResourceProvider.validateRequest(UpgradeResourceProvider.java:660)
              at org.apache.ambari.server.controller.internal.UpgradeResourceProvider.access$100(UpgradeResourceProvider.java:140)
              at org.apache.ambari.server.controller.internal.UpgradeResourceProvider$1.invoke(UpgradeResourceProvider.java:399)
              at org.apache.ambari.server.controller.internal.UpgradeResourceProvider$1.invoke(UpgradeResourceProvider.java:374)
              at org.apache.ambari.server.controller.internal.AbstractResourceProvider.invokeWithRetry(AbstractResourceProvider.java:455)
              at org.apache.ambari.server.controller.internal.AbstractResourceProvider.createResources(AbstractResourceProvider.java:278)
              at org.apache.ambari.server.controller.internal.UpgradeResourceProvider.createResources(UpgradeResourceProvider.java:374)
              at org.apache.ambari.server.controller.internal.ClusterControllerImpl.createResources(ClusterControllerImpl.java:298)
              at org.apache.ambari.server.api.services.persistence.PersistenceManagerImpl.create(PersistenceManagerImpl.java:97)
              at org.apache.ambari.server.api.handlers.CreateHandler.persist(CreateHandler.java:37)
              at org.apache.ambari.server.api.handlers.BaseManagementHandler.handleRequest(BaseManagementHandler.java:73)
              at org.apache.ambari.server.api.services.BaseRequest.process(BaseRequest.java:144)
              at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:126)
              at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:90)
              at org.apache.ambari.server.api.services.UpgradeService.createUpgrade(UpgradeService.java:58)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      

      Attachments

        1. AMBARI-19576.patch
          2 kB
          Richard Zang

        Activity

          People

            rzang Richard Zang
            shavi71 Vivek Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: