[
https://issues.apache.org/jira/browse/AMBARI-16118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15260350#comment-15260350
]
Hudson commented on AMBARI-16118:
---------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #4747 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/4747/])
AMBARI-16118. Additional logs required when posting ambari configuration
(smagyari:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=d0d86edd57cf5a0f50058bf7fa621f8874136bd3])
*
ambari-server/src/main/java/org/apache/ambari/server/api/handlers/CreateHandler.java
*
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
> 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)