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

Additional logs required when posting ambari configuration failed with 400 response

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.1.1
    • 2.2-next
    • ambari-server
    • None

    Description

      Add Bad requests response like below to Ambari server logs:

      In case of JSON error:

      {
        "status" : 400,
        "message" : "Invalid Request: Malformed Request Body.  An exception occurred parsing the request body: Unexpected character (':' (code 58)): was expecting comma to separate ARRAY entries\n at [Source: java.io.StringReader@17747ba1; line: 4, column: 22]"
      } 

      In case of improper content:

      {
        "status" : 400,
        "message" : "Blueprint configuration validation failed: Missing required properties.  Specify a value for these properties in the blueprint configuration. {host_group_1={kerberos-env=[encryption_types, realm, ldap_url, container_dn, kdc_type, kdc_host]}, host_group_2={kerberos-env=[encryption_types, realm, ldap_url, container_dn, kdc_type, kdc_host]}}"
      } 

      Attachments

        1. AMBARI-16118.patch
          4 kB
          Magyari Sandor Szilard

        Issue Links

          Activity

            People

              smagyari Magyari Sandor Szilard
              smagyari Magyari Sandor Szilard
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: