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

Configs are not applied if site has empty properties

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • ambari-server
    • None

    Description

      Steps to reproduce:
      1. Go to ZooKeeper service config tab
      2. Remove all properties from Custom zoo.cfg category
      3. Hit Save
      The follow request sent to server:

      Request URL: /api/v1/clusters/<cluster_name>
      Request Method: PUT
      Form Data: {"Clusters":{"desired_config":{"type":"zoo.cfg","tag":"version1392391155511","properties":{}}}}
      

      Result:
      Request status is 200(OK), but the new tag of site haven't been applied and properties still exist.

      Attachments

        Issue Links

          Activity

            People

              ncole@hortonworks.com Nate Cole
              ncole@hortonworks.com Nate Cole
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: