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

Blueprint export fails if config-type is not mapped to any service after upgrade

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • trunk
    • trunk
    • ambari-server, blueprints
    • None

    Description

      20 Mar 2017 11:39:57,948 ERROR [ambari-client-thread-8726] ReadHandler:99 - Bad request:
      java.lang.IllegalArgumentException: Specified configuration type is not associated with any service: storm-site
      at org.apache.ambari.server.controller.internal.Stack.getServiceForConfigType(Stack.java:494)
      at org.apache.ambari.server.controller.internal.BlueprintConfigurationProcessor$StackPropertyTypeFilter.isPropertyIncluded(BlueprintConfigurationProcessor.java:2946)
      at org.apache.ambari.server.controller.internal.BlueprintConfigurationProcessor.shouldPropertyBeExcludedForBlueprintExport(BlueprintConfigurationProcessor.java:939)
      at org.apache.ambari.server.controller.internal.BlueprintConfigurationProcessor.doFilterPriorToExport(BlueprintConfigurationProcessor.java:439)
      at org.apache.ambari.server.controller.internal.BlueprintConfigurationProcessor.doUpdateForBlueprintExport(BlueprintConfigurationProcessor.java:416)
      at org.apache.ambari.server.api.query.render.ClusterBlueprintRenderer.createBlueprintResource(ClusterBlueprintRenderer.java:186)
      at org.apache.ambari.server.api.query.render.ClusterBlueprintRenderer.finalizeResult(ClusterBlueprintRenderer.java:141)
      at org.apache.ambari.server.api.query.QueryImpl.getResult(QueryImpl.java:839)
      at org.apache.ambari.server.api.query.QueryImpl.execute(QueryImpl.java:223)
      at org.apache.ambari.server.api.handlers.ReadHandler.handleRequest(ReadHandler.java:77)
      at org.apache.ambari.server.api.services.BaseRequest.process(BaseRequest.java:145)
      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.ClusterService.getCluster(ClusterService.java:91)
      at sun.reflect.GeneratedMethodAccessor193.invoke(Unknown Source)

      Attachments

        1. AMBARI-20551.patch
          2 kB
          Amruta Borkar

        Activity

          People

            arborkar Amruta Borkar
            arborkar Amruta Borkar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: