[ 
https://issues.apache.org/jira/browse/AMBARI-16118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15260359#comment-15260359
 ] 

Hudson commented on AMBARI-16118:
---------------------------------

FAILURE: Integrated in Ambari-branch-2.2 #674 (See 
[https://builds.apache.org/job/Ambari-branch-2.2/674/])
AMBARI-16118. Additional logs required when posting ambari configuration 
(smagyari: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=e9ef632db8f72b85cdb060b02fd1ef7022671be5])
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterResourceProvider.java
* 
ambari-server/src/main/java/org/apache/ambari/server/api/services/BaseService.java
* 
ambari-server/src/main/java/org/apache/ambari/server/api/handlers/CreateHandler.java


> 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
>
>         Attachments: AMBARI-16118.patch
>
>
> 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