[ 
https://issues.apache.org/jira/browse/AMBARI-16118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sandor Magyari updated AMBARI-16118:
------------------------------------
    Description: 
Add Bad requests response like below to Ambari server logs:

In case of JSON error:
{code}
{
  "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]"
} {code}
In case of improper content:
 {code}
{
  "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]}}"
} {code}


  was:
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]}}"
}



> Additional logs required when posting ambari configuration failed with 400 
> response
> -----------------------------------------------------------------------------------
>
>                 Key: AMBARI-16118
>                 URL: https://issues.apache.org/jira/browse/AMBARI-16118
>             Project: Ambari
>          Issue Type: Improvement
>          Components: ambari-server
>    Affects Versions: 2.2.1.1
>            Reporter: Sandor Magyari
>            Assignee: Sandor Magyari
>             Fix For: 2.2-next
>
>
> Add Bad requests response like below to Ambari server logs:
> In case of JSON error:
> {code}
> {
>   "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]"
> } {code}
> In case of improper content:
>  {code}
> {
>   "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]}}"
> } {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to