Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.7.5
-
None
-
None
-
Standard installation from scratch.
Initial host was removed and now I am trying to recreate it. Thats where the error comes up.
SLES12, Ambari 2.7.5, based on this installation documentation: https://docs.cloudera.com/HDPDocuments/Ambari-2.7.5.0/bk_ambari-installation/content/ch_Getting_Ready.html
Description
When creating a new host with the "Add Host Wizard", I get an empty screen on the Slave / Client selection screen:
I then noticed this is due to an error 400 to the API:
URL: http://host:8080/api/v1/stacks/HDP/versions/2.6/validations
Request Body:
{"hosts":["host"],"services":[],"validate":"host_groups","recommendations":{"blueprint":{"host_groups":[{"name":"host-group-1","components":[{"name":"JOURNALNODE"},{"name":"ZKFC"},{"name":"GANGLIA_MONITOR"},{"name":"METRICS_MONITOR"},{"name":"LOGSEARCH_LOGFEEDER"},{"name":"HST_AGENT"},{"name":"KERBEROS_CLIENT"}]}]},"blueprint_cluster_binding":{"host_groups":[{"name":"host-group-1","hosts":[{"fqdn":"host"}]}]}}}
(replaced the actual host by "host")
Status Code: 400, Bad Request
Response Body:
Request body is not correct, error: java.util.LinkedHashSet cannot be cast to java.util.List
I guess the json request created seems to be unexpected by the server.